------------------------------------------------------------------------------------------------------------------------------------
      name:  plog_754
       log:  /accounts/projects/jr_ra/GRscarring/erratum/programs/prepare/extractorg_morg.log
  log type:  text
 opened on:  27 Nov 2024, 17:23:59

. /*******************************************************************************
>  extractorg_morg.do
>  RY, 3/6/2018
> 
>  Source: extractorg.do, JR, 8/10/2017, which was based on extractorg_recent.do, 
>     from the replication archive for:
>     Rothstein, Jesse. "The Great Recession and its Aftermath: What Role for 
>     Structural Changes?" RSF: The Russell Sage Foundation Journal of the 
>     Social Sciences 3(3), April 2017. p.p. 22-49. 
>  Extended to incorporate earlier years.
> 
>  Description: Written to use the NBER morgyy data http://www.nber.org/morg/annual/
>  As written this relies on data files in ~/data/cps/morg,
>  and modified versions of CEPRs programs.
>  
>  modified: RY, 3/30 updated the education cleaning program based on JR code.
>  modified: JR, RY, 5/18 updated the cleanwage program and added topcode flags. 
>  modified: JR, 5/23/18: Substitute out the wage language, to rely on new program ceprwage.do
>  modified: NG, 9/02/19: Updated the data including 2018
>  
> *******************************************************************************/
. 
. cap project, doinfo

. if _rc==0 {
.         local doasproject=1
.         local pdir "`r(pdir)'"                                                      // the project's main dir.
.         local dofile "`r(dofile)'"                                                  // do-file's stub name
.         local sig {bind:{hi:[RP : `dofile'.do]}}        // a signature in notes
. }

. else {
.   local doasproject=0
.         local pdir "~/GRscarring"
.         local dofile "extractorg"
.         local sig "Not run as part of project!"
. }

. 
. local morg "`pdir'/rawdata/readrawcps/morg"

. local rawdata "`pdir'/rawdata"

. local scratch "`pdir'/scratch"

. local otherraw "`pdir'/rawdata"

. 
. if `doasproject'==1 {
. project, uses("`scratch'/cpi.dta")
project GRscar_erratum > do-file uses: "/scratch/public/jr_ra/GRscarring2024/erratum/scratch/cpi.dta" filesig(169829402:26459)
. project, original("`rawdata'/readrawcps/cpssupplemental/gestcen_gestfips_match.dta")
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/cpssupplemental/ges
> tcen_gestfips_match.dta" filesig(295791431:1354)
. project, original("`pdir'/programs/prepare/ceprwage.do")
project GRscar_erratum > do-file uses original: "programs/prepare/ceprwage.do" filesig(650341738:17630)
. }

. 
. clear all

. set varabbrev off

. set more off

. set type double

. #delimit ;
delimiter now ;
. do `pdir'/programs/prepare/ceprwage.do ;

. // ceprwage.do
. //
. // Create hourly wages and topcode indicators for the CPS ORG data, as
. // distributed by NBER.
. //
. // Code adapted by Jesse Rothstein, May 23, 2018
. //
. // Source was CEPR code for the CPS ORG (esp. cepr_org_wages), version 2.4,Mar 22, 2019.
. // Copyright 2018 CEPR and John Schmitt, GNU GPL version 2
. //
. // Written to be called as "ceprwage <year>" when the NBER MORG file has been loaded.
. 
. cap program drop origvars

. program define origvars
  1.   syntax varlist
  2.   foreach v of varlist `varlist' {
  3.     rename `v' orig_`v'
  4.   }
  5. end

.   
. cap program drop ceprwage

. program define ceprwage
  1.   args year
  2. 
. 
. /* Paid by the hour indicator variable */
. gen paidbyhour=paidhre
  3. replace paidbyhour=0 if paidhre==2
  4. origvars paidhre 
  5. lab var paidbyhour "Paid by hour"
  6. notes paidbyhour: Indicates BLS records respondent's earnings by hour
  7. notes paidbyhour: Not a consistent indicator of "hourly worker" status
  8. notes paidbyhour: CPS: derived from a-hrlywk, peernhry
  9. 
. /* Hourly earnings if "paid by hour" (paidhre==1)  - excludes OTC*/
. gen wage_paidbyhour=.
 10. replace wage_paidbyhour=earnhre/100 if paidbyhour==1 /* convert from pennies to dollars */
 11. origvars earnhre 
 12. lab var wage_paidbyhour "Hourly wage (if hourly worker)"
 13. notes wage_paidbyhour: Dollars per hour
 14. notes wage_paidbyhour: For hourly workers only
 15. notes wage_paidbyhour: Excludes overtime, tips, commissions
 16. notes wage_paidbyhour: Top-code 1979-84: 99.00
 17. notes wage_paidbyhour: Top-code 1985-98: set so that hours worked times earnhre /*
> */ < weekly earnings top-code
 18. notes wage_paidbyhour: Top-code 1998-: set so that hours worked times earnhre /*
> */ < 1,998, which is less than the weekly earnings top-code of 2,884 /*
> */ [BLS documentation; check]
 19. notes wage_paidbyhour: Top-code 1985-: NBER states that top-code not applied /* 
> */ to all observations
 20. notes wage_paidbyhour: Bottom-code: 1979-88: 0.50; 1994: 0.10; 1995: 0.20
 21. notes wage_paidbyhour: set to missing if prernhly<0 to get rid of neg values
 22. notes wage_paidbyhour: CPS: a-herntp, prernhly, pternhly
 23. 
. /*
>         /* Hourly earnings allocated */
> 
> if 1979<=`year' & `year'<=1988 {
> gen byte blsimph=0 if I25c~=.
> replace blsimph=1 if I25c==1
> }
> if 1989<=`year' & `year'<=1993 {
> gen byte blsimph=0 if I25c~=.
> replace blsimph=1 if (1<=I25c & I25c<=8)
> }
> if 1994==`year' {
> gen byte blsimph=. /* prhernal missing in cps basic 1994 */
> }
> if 1995==`year' {
>   gen byte blsimph=. /* prhernal missing Jan-Aug 1995 */
>   replace blsimph=0 if (9<=month & month<=12) & prhernal==0
>   replace blsimph=1 if (9<=month & month<=12) & prhernal==1
> }
> if 1996<=`year' & `year'<=2019 {
> gen byte blsimph=0 if prhernal==0
> replace blsimph=1 if prhernal==1
> }
> 
> lab var blsimph "BLS allocated hourly earnings"
> notes blsimph: Indicates BLS allocated usual hourly earnings
> notes blsimph: CPS: I25c, prhernal
> notes blsimph: BLS provides no allocation info Jan 94-Aug 95
> notes blsimph: According to Hirsch & Schumacher (2004), allocation flags/*
>               */ unreliable 1989-1993
> notes blsimph: For 1989-1993, underlying data don't use complete range
> 
>         /* Weekly earnings allocated */
> 
> if 1979<=`year' & `year'<=1988 {
> gen byte blsimpw=0 if I25d~=.
> replace blsimpw=1 if I25d==1
> }
> if 1989<=`year' & `year'<=1993 {
> gen byte blsimpw=0 if I25d~=.
> replace blsimpw=1 if (1<=I25d & I25d<=8)
> }
> if 1994==`year' {
> gen byte blsimpw=. /* prwernal missing in cps basic 1994 */
> }
> if 1995==`year' {
>     gen byte blsimpw=.  /* prwernal missing Jan-Aug 1995 */
>     replace blsimpw=0 if (9<=month & month<=12) & prwernal==0
>     replace blsimpw=1 if (9<=month & month<=12) & prwernal==1
> }
> if 1996<=`year' & `year'<=2019 {
> gen byte blsimpw=0 if prwernal==0
> replace blsimpw=1 if prwernal==1
> }
> 
> lab var blsimpw "BLS allocated weekly earnings"
> notes blsimpw: Indicates BLS allocated usual weekly earnings
> notes blsimpw: CPS: I25d, prwernal
> notes blsimpw: BLS provides no allocation info Jan 94-Aug 95
> notes blsimpw: According to Hirsch & Schumacher (2004), allocation flags/*
>               */ unreliable 1989-1993
> 
> /* Paid by the hour indicator variable */
> 
> if 1979<=`year' & `year'<=1993 {
> replace paidhre=0 if paidhre==2
> }
> if 1994<=`year' & `year'<=2019 {
> gen paidhre=0 if peernhry==2
> replace paidhre=1 if peernhry==1
> }
> lab var paidhre "Paid by hour"
> notes paidhre: Indicates BLS records respondent's earnings by hour
> notes paidhre: Not a consistent indicator of "hourly worker" status
> notes paidhre: CPS: derived from a-hrlywk, peernhry
> 
> /* Hourly earnings if "paid by hour" (paidhre==1) */
> 
> gen wage1=.
> 
> if 1979<=`year' & `year'<=1993 {
> replace wage1=earnhre/100 if paidhre==1 /* convert from pennies to dollars */
> }
> if 1994<=`year' & `year'<=2019 {
> replace wage1=prernhly/100 if paidhre==1 /* convert from pennies to dollars */
> replace wage1=. if prernhly<0
> }
> lab var wage1 "Hourly wage (if hourly worker)"
> notes wage1: Dollars per hour
> notes wage1: For hourly workers only
> notes wage1: Excludes overtime, tips, commissions
> notes wage1: Top-code 1979-84: 99.00
> notes wage1: Top-code 1985-98: set so that hours worked times earnhre /*
> */ < weekly earnings top-code
> notes wage1: Top-code 1998-: set so that hours worked times earnhre /*
> */ < 1,998, which is less than the weekly earnings top-code of 2,884 /*
> */ [BLS documentation; check]
> notes wage1: Top-code 1985-: NBER states that top-code not applied /* 
> */ to all observations
> notes wage1: Bottom-code: 1979-88: 0.50; 1994: 0.10; 1995: 0.20
> notes wage1: set to missing if prernhly<0 to get rid of neg values
> notes wage1: CPS: a-herntp, prernhly, pternhly
> 
>  Usual weekly earnings including overtime, tips, commissions 
>    nonhourly workers (paidhre==0) and hourly workers (paidhre==1)
>    
>     The NBER extract contains three usual weekly earnings variables, 
> which we include here for 1979-1993.
> 
> The first two are uearnwk ("unedited," available 1979-1993) and uearnwke 
> ("edited," available 1979-1988 only). For *hourly* workers, these variables
> give the usual weekly earnings *including* overtime, tips, and commissions. 
> Between 1989 and 1993, when uearnwke is not available, few observations on 
> hourly workers show uearnwk greater than the product of earnhre (usual 
> hourly pay) times uhourse (usual weekly hours), suggesting that the CPS may 
> not have reliably captured the overtime, tips, and commissions received by 
> hourly workers between 1989 and 1993. 
> 
> For hourly workers in 1979-1988, the CEPR extract uses uearnwke for usual 
> weekly earnings including overtime, tips, and commissions. For hourly workers
> 1989-1993, the CEPR extract uses uearnwk, which does appear to capture well
> overtime, tips, and commissions.
> 
> The third variable is earnwke ("edited," available 1979-1993). For hourly
> workers, this variable contains the product of earnhre (usual hourly pay) 
> times uhourse (usual weekly hours); so, by definition, it excludes overtime,
> tips, and commissions for hourly workers. For nonhourly workers, earnwke 
> does include overtime, tips, and commissions.
> 
> */
. 
. gen weekpay=.
 24.         
. if 1979<=`year' & `year'<=1988 {
 25. // replace uearnwk=. if uearnwk<0
.   replace weekpay=earnwke if paidbyhour==0
 26.   replace weekpay=uearnwke if paidbyhour==1
 27.   replace weekpay=. if earnwke<0
 28.   origvars earnwke uearnwke uearnwk
 29. }
 30. if 1989<=`year' & `year'<=1993 {
 31. // replace uearnwk=. if uearnwk<0
.   gen byte uearnwke=.
 32.   replace weekpay=earnwke if paidbyhour==0
 33.   replace weekpay=uearnwk if paidbyhour==1 & uearnwk>=0 /* note shift from uearnwke to uearnwk */
 34.   origvars earnwke uearnwke uearnwk
 35. }
 36. if 1994<=`year' & `year'<=2019 {
 37. // gen byte uearnwk=.
. // gen uearnwke=.
. // gen earnwke=.
.   replace weekpay=earnwke /* convert from pennies to dollars */
 38.   replace weekpay=. if earnwke<0
 39.   origvars earnwke
 40. }
 41. lab var weekpay "Weekly pay"
 42. notes weekpay: Dollars per week
 43. notes weekpay: For nonhourly and hourly workers
 44. notes weekpay: Includes overtime, tips, commissions
 45. notes weekpay: Top-code: 1979-88: 999; 1989-97: 1923; 1998-: 2884
 46. notes weekpay: CPS 1979-88: earnwke for non-hourly, uearnwke for hourly
 47. notes weekpay: CPS 1989-93: earnwke for non-hourly, uearnwk for hourly
 48. notes weekpay: CPS 1994-: prernwa
 49. 
. 
. /* Impute hours for missing hours (which includes "hours vary" on the NBER files*/
. gen usualhours = uhourse if uhourse>0 & uhourse<.
 50.  *use actual hours last week if usual hours is missing and actual hours is consistent with FT/PT info
.   gen usualhoursi=usualhours
 51.   if `year'>=1979 & `year'<=1988 {
 52.     gen isft=(uhourse>=35) if uhourse<.
 53.     // uhours35 doesnt exist 1989-1993, and is very often missing before that
.     replace isft=(uhours35==1) if isft==. & uhours35<.
 54.     replace isft=(inlist(ftpt79,1,3)) if isft==. & inlist(ftpt79,1,2,3,4,5)
 55.     origvars uhourse uhours35 ftpt79
 56.   }
 57.   if `year'>=1989 & `year'<=1993 {
 58.     gen isft=(uhourse>=35) if uhourse<.
 59.     // uhours35 doesnt exist 1989-1993, and is very often missing before that
.     replace isft=(inlist(ftpt89,2,3,6)) if isft==. & inlist(ftpt89,2,3,4,5,6,7)
 60.     origvars uhourse ftpt89
 61.   }
 62.   if `year'>=1994 & `year'<=2019 {
 63.     gen isft=(uhourse>=35) if uhourse<.
 64.     replace isft=(inlist(ftpt94,2,3,11)) if isft==. & ftpt94>1 & ftpt94<.
 65.     origvars uhourse ftpt94
 66.   }
 67.   gen useactual=(isft==1 & hourslw>=35) | (isft==0 & hourslw<35)
 68.   replace usualhoursi=hourslw if usualhours==. & useactual==1
 69.   origvars hourslw
 70.   replace isft=1 if isft==.
 71.   *Assign mean hours by gender and part time status if necessary
.    sort sex isft
 72.    by sex isft: egen meanhrs=mean(usualhours)
 73.    replace usualhoursi=meanhrs if usualhoursi==.
 74.    drop meanhrs
 75. lab var usualhours "Usual hours, main job"
 76. notes usualhours: Edited
 77. notes usualhours: CPS: a-uslhrs, peernhro
 78. lab var usualhoursi "Usual hours, main job, (with imputations)"
 79. notes usualhoursi: CPS: a-uslhrs, peernhro
 80. notes usualhoursi: Use actual hours to impute if consistent with FT/PT info
 81. notes usualhoursi: Use mean by gender/FT if actual hours arent usable.
 82. drop isft useactual
 83. 
. /* Usual hourly earnings including overtime, tips, commissions 
>    nonhourly workers (paidhre==0)
> */
. gen wage_nonhourly=.
 84. replace wage_nonhourly=weekpay/usualhoursi if weekpay>0 & usualhoursi>0
 85. lab var wage_nonhourly "Hourly wage "
 86. notes wage_nonhourly: Dollars per hour
 87. notes wage_nonhourly: Computed for hourly and non-hourly workers
 88. notes wage_nonhourly: Includes overtime, tips, commissions
 89. notes wage_nonhourly: Usual weekly earnings / usual weekly hours
 90. notes wage_nonhourly: 1979-1993: weekpay/uhourse; 1994-present: weekpay/pehrusl1
 91. notes wage_nonhourly: CPS top code weekly earnings in 1979-1988: 999
 92. notes wage_nonhourly: CPS top code weekly earnings in 1989-1997: 1923
 93. notes wage_nonhourly: CPS top code weekly earnings in 1998-: 2884
 94. 
. 
. 
. /* OTC receipt and amount, used only after 1994 -- not in NBER files 
> gen byte otcrec=.
> if 1994<=`year' & `year'<=2017 {
>   replace otcrec=0 if paidbyhour==1 & peernuot==2
>   replace otcrec=1 if paidbyhour==1 & peernuot==1
>   origvars peernuot
> }
> lab var otcrec "Usually receive overtime, tips, commissions"
> notes otcrec: Hourly workers only
> notes otcrec: Only 1994-present
> notes otcrec: CPS: Derived from peernuot
> * Weekly earnings from overtime, tips, commissions 1994- 
> gen byte otcamt=.
> if 1994<=`year' & `year'<=2017 {
>   replace otcamt=peern/100 if otcrec==1 & otcamt<0
> }
> format otcamt %5.0f // format to no decimal places 
> lab var otcamt "Weekly earnings overtime, tips, commissions"
> notes otcamt: Hourly workers only
> notes otcamt: Only 1994-present
> notes otcamt: CPS: derived from peern
> 
> * Hourly earnings, including OTC, if paid by hour  
> gen wage_paidbyhour_withotc=weekpay/usualhours if paidbyhour==1 & weekpay<. & usualhours<. 
> replace wage_paidbyhour_withotc=wage_paidbyhour if ///
>         (wage_paidbyhour_withotc<wage_paidbyhour & wage_paidbyhour~=.) & paidbyhour==1 & wage_paidbyhour<.
> replace wage_paidbyhour_withotc=wage_paidbyhour if paidbyhour==1 & wage_paidbyhour_withotc==.
>   // prevents wage including overtime, tips, and commissions
>   // from being less than wage excluding overtime, tips, and
>   // commissions
> if 1994<=`year' & `year'<=2017 {
>   // About one-fourth of hourly workers report wages at 
>   // other periodicities (weekly, monthly, etc.); these workers are not asked
>   // provide peernhro, which we use to calculate minimum wage for the
>   // rest of hourly workers. For the subset of hourly workers without a 
>   // valid peernhro, we estimate hourly earnings including overtime, tips, 
>   // and commissions by dividing weekly earnings (prernwa) by usual hours worked 
>   // (pehrusl1) 
>   // For hourly workers with information on peernhro, we use that
>   // information to calculate wages with overtime, tips, and commissions. 
>   replace wage_paidbyhour_withotc=wage_paidbyhour+(otcamt/usualhours) if paidbyhour==1 & ///
>           otcrec==1 & (0<otcamt & otcamt<.) & (0<usualhours & usualhours<=99) 
> }
> // JR edit: Dont use OTC calculation if it is more than 5*straight pay
> replace wage_paidbyhour_withotc=wage_paidbyhour if wage_paidbyhour_withotc<. & ///
>         wage_paidbyhour_withotc>5*wage_paidbyhour
> */
. 
. 
. /* Topcoding */
. //Hourly wages are always top-coded at 99.
.  gen tc_paidbyhour=(wage_paidbyhour>=99) if wage_paidbyhour<.
 95.  replace wage_paidbyhour=99 if tc_paidbyhour==1
 96. // After 1985, hourly wages are topcoded so wages*hours< weekly pay topcode 
.   // Codebooks sometimes say limit is 100K/year (2K/week), but no spikes in the data.
.   // Note lots of observations above topcode, and weekly earnings still have a spike
.   // at 1923 in 1998.
. if `year'>=1979 & `year'<=1988 local weektc 999
 97. if `year'>=1989 & `year'<=1997 local weektc 1923
 98. if `year'>=1998 & `year'<=2019 local weektc 2884
 99. if `year'>=1985 & `year'<=2019 {
100.   replace tc_paidbyhour=2 if (wage_paidbyhour*usualhoursi>=`weektc') & ///
>                              wage_paidbyhour<. & usualhoursi<. 
101.   replace wage_paidbyhour=`weektc'/usualhoursi if tc_paidbyhour==2
102. }
103. gen tc_weekpay=(weekpay>=`weektc') if weekpay<.
104. replace weekpay=`weektc' if tc_weekpay==1
105. replace wage_nonhourly=`weektc'/usualhoursi if paidbyhour==0 & tc_weekpay==1 & usualhoursi>0
106. 
. // JR: If this is above $100/hour and hours are low, or if it is above $200/hour,
. // assume hours are wrong and set to missing
.   replace wage_nonhourly=. if wage_nonhourly>200 | ///
>             (wage_nonhourly>100 & usualhoursi<30)
107.   replace tc_weekpay=. if wage_nonhourly==.
108.   
.                                 
. /* NBER-style wage variable usual hourly earnings
>    INcluding overtime, tips, commissions for nonhourly workers
>    EXcluding overtime, tips, commissions for hourly workers
> */
. gen wage_nberstyle=wage_paidbyhour if paidbyhour==1
109. replace wage_nberstyle=wage_nonhourly if paidbyhour==0
110. lab var wage_nberstyle "Hourly wage"
111. notes wage_nberstyle: Dollars per hour
112. notes wage_nberstyle: For hourly and nonhourly workers
113. notes wage_nberstyle: Approximates NBER's recommended wage variable
114. notes wage_nberstyle: Includes overtime, tips, commissions for nonhourly
115. notes wage_nberstyle: Excludes overtime, tips, commissions for hourly
116. notes wage_nberstyle: No adjustments for top-coding
117. notes wage_nberstyle: No trimming of outliers
118. notes wage_nberstyle: Excludes nonhourly workers whose usual hours vary
119. gen tc_nberstyle=tc_paidbyhour if paidbyhour==1
120. replace tc_nberstyle=tc_weekpay if paidbyhour==0
121. 
. /* CEPR-style wage variable (wage4):
>    Uses wage_paidbyhour_withotc for hourly workers, and wage_nonhourly for others
>    Note that with NBER files, this doesnt use actual information on OT pay. */
. *Alternative version of OTC computation that is possible in the NBER files.
. *Use weekly earnings for all workers, unless this is less than hourly wage or hours missing
.  gen useweekly_ceprstyle=1 if wage_nonhourly<. & usualhours<.
122.  replace useweekly_ceprstyle=0 if paidbyhour==1 & (wage_nonhourly==. | usualhours==.) & ///
>                                   wage_paidbyhour<.
123.  replace useweekly_ceprstyle=0 if paidbyhour==1 & wage_nonhourly<wage_paidbyhour & ///
>                                   wage_paidbyhour<.
124.  replace useweekly_ceprstyle=1 if wage_nonhourly<. & wage_paidbyhour==.
125. *Note that the vast majority of observations use the weekly pay, so arent
. *necessarily subject to the $99 limit.
.   // prevents wage including overtime, tips, and commissions
.   // from being less than wage excluding overtime, tips, and
.   // commissions
. 
. gen wage_ceprstyle=wage_paidbyhour if useweekly_ceprstyle==0
126. replace wage_ceprstyle=wage_nonhourly if useweekly_ceprstyle==1
127. lab var wage_ceprstyle "Hourly wage"
128. notes wage_ceprstyle: Dollars per hour
129. notes wage_ceprstyle: For hourly and nonhourly workers
130. notes wage_ceprstyle: Includes overtime, tips, commissions for nonhourly and hourly
131. notes wage_ceprstyle: Covers only hourly workers who report hourly rate of pay
132. notes wage_ceprstyle: No adjustments for top-coding
133. notes wage_ceprstyle: No trimming of outliers
134. notes wage_ceprstyle: Excludes nonhourly workers whose usual hours vary
135. notes wage_ceprstyle: Uses weekly earnings for hourly workers, to get OTC.
136. notes wage_ceprstyle: In 1994-2016, CPLS collects OTC, but NBER files dont have it.
137. 
. gen tc_ceprstyle=tc_paidbyhour if useweekly_ceprstyle==0
138. replace tc_ceprstyle=2*tc_weekpay if useweekly_ceprstyle==1
139. label def tc_l 0 "Not topcoded" 1 "TC based on hourly rate" 2 "TC based on weekly earnings"
140. label values tc_ceprstyle tc_cepr_l
141. label values tc_nberstyle tc_cepr_l
142. 
. // I have not been careful to restrict wage information to wage and salary workers, though
. // there are sometimes values for the self employed
. foreach v of varlist wage_* tc_* useweekly_ceprstyle weekpay paidbyhour {
143.   if `year'>=1979 & `year'<=1988 {
144.     replace `v'=. if !inlist(classer,1,2)
145.   }
146.   if `year'>=1989 & `year'<=1993 {
147.     replace `v'=. if !inlist(classer2,1,2,3,4)
148.   }
149.   if `year'>=1994 & `year'<=2019 {
150.     replace `v'=. if !inlist(class,4,5,1,2,3)
151.   }
152. }
153. end

.    
. 
end of do-file

.        /* NG: Full Path was missing, Added*/
> 
> /***Define Global Directory***/
> local startyr=1979;

. *local startyr=2016;
. local endyr=2019;

. *local endmo=`startmo'
> local overwrite=1;
. ****************************************************************************************
> ************ CODE TO CLEAN THE DIFFERENT VARIABLES. *************************************
> *****************************************************************************************
>  // Gender;
>  cap program drop cleangender;
.  program define cleangender;
  1.    // Two arguments: The period (A-F) and the month (in %tm format). The latter is useful
>    // for any small changes in coding within periods, but typically will not be needed.;
>   * args period month;
.    // In this case, the code is the same in all periods.;
>          gen byte female=0 if sex==1;
  2.          replace female=1 if sex==2;
  3.          lab var female "Female";
  4.          notes female: CPS: derived from sex;
  5.  end;

.  // Marital status;
>  cap program drop cleanmaritalstatus;

.  program define cleanmaritalstatus;
  1.         gen byte married=.;
  2.         replace married=0 if marital~=.;
  3.         replace married=1 if 1<=marital & marital<=3;
  4.         lab var married "Married";
  5.         notes married: CPS: derived from prmarsta, a-maritl, marital;
  6.  end;

.   // Person ID;
>  cap program drop cleanpersonid;

.  program define cleanpersonid;
  1.         egen hh_id=concat(hrhhid hrhhid2);
  2.         drop hrhhid hrhhid2;
  3.         gen wave=1+(mis>=5);
  4.         gen startmo=yearmo-(mis-1)-8*(mis>=5);
  5.         egen personid=concat(gestcen hh_id hurespli startmo);
  6.         drop startmo;
  7.         *gen byte newmis=hrmis - 4*(wave==2);
.  end;

.   //education cleaning code, JR 3/30/18, modified by RY, 4/9/18
>  cap program drop cleaneduc;

.  program define cleaneduc;
  1.  args year;
  2.     if `year'<=1991 {;
  3.       gen educ91=gradeat;
  4.        replace educ91=educ91-1 if gradecp==2 & educ91>=1;
  5.        gen educ92=.;
  6.     };
  7.     if `year'>=1992 {;
  8.       gen byte educ92=grade92;
  9.       gen educ91=.;
 10.       gen gradeat=.;
 11.       gen gradecp=.;
 12.     };
 13.     *Recode pre-1991 education into post-1992 categories;
.      recode educ91 (0=1) (1/4=2) (5/6=3) (7/8=4) (9=5) (10=6) (11=7) (12=9) (13=10) 
>            (14/15=12) (16=13) (17=14) (18=16) if year<=1991, gen(educ91_as92);
 14.      replace educ91_as92=8 if gradeat==12 & gradecp==2 & year<=1991;
 15.      replace educ92=educ92-30 if year>=1992;
 16.      replace educ92=educ91_as92 if year<=1991;
 17.      drop educ91_as92;
 18.     *And recode post-1992 categories into pre-1991 Years;
.     *This is probably better, especially at the post-9th-grade ranges;
.      recode educ92 (1=0) (2=3) (3=6) (4=8) (5=9) (6=10) (7/8=11) (9=12) (10=13) (11/12=14)
>                    (13=16) (14=17) (15=18) (16=20) if year>=1992, gen(educ92_as91);
 19.      replace educ91=educ92_as91 if year>=1992;
 20.      drop educ92_as91;
 21.         lab var educ92 "Education level (1992+ coding - not years)";
 22.         lab define educ92
>         1  "Less than 1st grade"
>         2  "1st-4th grade"
>         3  "5th-6th grade"
>         4  "7th-8th grade"
>         5  "9th grade"
>         6  "10th grade"
>         7  "11th grade"
>         8  "12th grade-no diploma"
>         9  "HS graduate, GED"
>         10 "Some college but no degree"
>         11 "Associate degree-occupational/vocational"
>         12 "Associate degree-academic program"
>         13 "Bachelor's degree"
>         14 "Master's degree"
>         15 "Professional school"
>         16 "Doctorate"
>         ;
 23.         lab val educ92 educ92;
 24.         label var educ91 "Education level in years (pre-1992 coding)";
 25.  end;

.  // Labor-market status (works for 1989 on);
>  cap program drop cleanlfstat;

.  program define cleanlfstat;
  1.  args year;
  2.         if `year'<=1988 {;
  3.         gen lfstat=1 if esr==1 | esr==2;
  4.         replace lfstat=2 if 3<=esr & esr<=4;
  5.         replace lfstat=3 if 5<=esr & esr<=7;
  6.         };
  7.         else if `year'>=1989 & year<=1993 {;
  8.         gen lfstat=1 if lfsr89==1 | lfsr89==2;
  9.         replace lfstat=2 if 3<=lfsr89 & lfsr89<=4;
 10.         replace lfstat=3 if 5<=lfsr89 & lfsr89<=7;
 11.         };
 12.         else if `year'>=1994 {;
 13.         gen lfstat=1 if lfsr94==1 | lfsr94==2;
 14.         replace lfstat=2 if 3<=lfsr94 & lfsr94<=4;
 15.         replace lfstat=3 if 5<=lfsr94 & lfsr94<=7;
 16.         };
 17.         lab var lfstat "Labor-force status";
 18.         lab def lfstat
>         1 Employed
>         2 Unemployed
>         3 NILF
>         ;
 19.         lab val lfstat lfstat;
 20.         notes lfstat: CPS: derived from esr;
 21.  end;

. // Employed;
> cap program drop cleanempl;

. program define cleanempl;
  1.         gen byte empl=0 if lfstat~=.;
  2.         replace empl=1 if lfstat==1;
  3.         lab var empl "Employed";
  4.         notes empl: CPS: derived from pemlr;
  5. end;

. // Unemployed;
> cap program drop cleanunem;

. program define cleanunem;
  1.         gen byte unem=0 if lfstat==1;
  2.         replace unem=1 if lfstat==2;
  3.         lab var unem "Unemployed";
  4.         notes unem: CPS: derived from pemlr;
  5. end;

. // Not in labor force;
> cap program drop cleannilf;

. program define cleannilf;
  1.         gen byte nilf=0 if lfstat~=.;
  2.         replace nilf=1 if lfstat==3;
  3.         lab var nilf "Not in labor force";
  4.         notes nilf: CPS: derived from pemlr;
  5. end;

. // Self-employed (unincorporated);
> cap program drop cleanselfemp;

. program define cleanselfemp;
  1.         gen byte selfemp=0 if class~=.;
  2.         replace selfemp=1 if class==6 ;
  3.         lab var selfemp "Self-employed";
  4.         notes selfemp: Unincorporated self-employed only;
  5.         notes selfemp: CPS: derived from a-clswkr, peio1cow, class;
  6. end;

. // Incorporated self-employed;
> cap program drop cleanselfinc;

. program define cleanselfinc;
  1.         gen byte selfinc=0 if class~=.;
  2.         replace selfinc=1 if class==5;
  3.         lab var selfinc "Incorporated self-employed";
  4.         notes selfinc: Incorporated self-employed only;
  5.         notes selfinc: CPS: derived from a-clswkr, peio1cow;
  6. end;

. // CREATE ALLOCATION FLAG ;
> cap pogram drop cleanallocationflag;

. program define cleanallocationflag;
  1. args year;
  2.         if `year'<=1993 {;
  3.         gen byte alloc=0;
  4.         replace alloc=1 if I25a==1 |I25d==1;
  5.         label var alloc "=1 if wage or hours allocated";
  6.         replace alloc=. if wage==.;
  7.         };
  8.                 *one allocation flag missing: I25d (weekly earnings)
>         *In 1994-1998, allocation flags coded from 0 to 53 ;
.         else if `year'>=1994 & `year'<=1998 {;
  9.         gen byte alloc=0;
 10.         replace alloc=1 if I25a>=10 & I25a!=.;
 11.         replace alloc=1 if AF1>=10 & AF1!=.;
 12.         replace alloc=1 if AF3>=10 & AF3!=. ;
 13.         replace alloc=. if wage==.;
 14.         label var alloc "=1 if hourly wage or hours allocated";
 15.         };
 16.                 *In 1994-1999, allocation flags coded from 0 to 53 ;
.         else if `year'==1999 {;
 17.         gen byte alloc=0;
 18.         replace alloc=1 if I25a>=10 & I25a!=.;
 19.         replace alloc=1 if AF1>=10 & AF1!=.;
 20.         replace alloc=1 if AF3>=10 & AF3!=. ;
 21.         replace alloc=1 if I25d==1;
 22.         label var alloc "=1 if hourly wage or hours allocated";
 23.         replace alloc=. if wage==.;
 24.         };
 25. end;

. ****************************************************************************************
> ************ CODE TO READ IN AND STACK THE DATA. *************************************
> *****************************************************************************************
> *Loop & stack data, to prepare for longitudinal links;
.  forvalues y=`startyr'/`endyr' {;
  2.          tempfile month`y';
  3.           if `y'>=1979 & `y'<=2020        di "Starting year " `y' ".";
  4.           else {;
  5.                  di "ERROR: YEAR " %tm `y' "OUT OF RANGE";
  6.                  error;
  7.           };
  8.       if `y'<=1993 di "WARNING: PROGRAM OUT OF DESIGN RANGE: " `y' ".";
  9.           local year=`y';
 10.     if `year'<2000 local yy=`year'-1900;
 11.     else if `year'>=2010 local yy=`year'-2000;
 12.     else {;
 13.         local yy=`year'-2000;
 14.         local yy "0`yy'";
 15.     };
 16.     local origfile "morg`yy'";
 17.  *Read in the data;
.     if `year'<2019 {;
 18.        if `doasproject'==1 project, original("`morg'/`origfile'.dta.gz");
 19.       !zcat `morg'/`origfile'.dta.gz > `scratch'/tmp_`origfile'.dta;
 20.             use `scratch'/tmp_`origfile'.dta, clear;
 21.       !rm -f `scratch'/tmp_`origfile'.dta;
 22.      };
 23.     else {;
 24.        if `doasproject'==1 project, uses("`scratch'/morg`year'.dta");
 25.        use `scratch'/morg`year', clear;
 26.     };
 27.    rename intmonth month;
 28.    rename minsamp mis;
 29.    rename lineno linenum;
 30.    rename weight orgwgt;
 31.      //Now give each new HH a sort-order number, and use this to generate a tiebreaker;
>     if `year'<=2003 gen hrhhid2=.;
 32.     rename hhid hrhhid;
 33.     rename hhnum hh_num;
 34.     replace hh_num=hh_num[_n-1] if missing(hh_num);
 35.  //RY, 2/22/18, There were a few missing observations in hh_num, which seems problematic;
>     gen origorder=_n;
 36.     gen newhh=(hrhhid~=hrhhid[_n-1] | hh_num~=hh_num[_n-1]) ;
 37.     replace newhh=1 if _n==1;
 38.     gen hh_sortnum=sum(newhh);
 39.     drop newhh;
 40.     sort hrhhid hh_num hh_sortnum linenum origorder;
 41.     egen hh_sortnum2=group(hrhhid hh_num hh_sortnum);
 42.     by hrhhid hh_num: gen hh_tiebreak=1+(hh_sortnum2-hh_sortnum2[1]);
 43.     //There are still a few ties -- people listed all together in the same HH
>     //with the same line number. Break these ties also./;
>       sort hrhhid hh_num hh_tiebreak linenum origorder;
 44.       by hrhhid hh_num hh_tiebreak linenum: gen p_tiebreak=_n;
 45.       isid hrhhid hh_num hh_tiebreak linenum p_tiebreak;
 46.       drop hh_sortnum;
 47.       sort origorder;
 48.            //create one class of worker variable;
>     if `year'>=1994 rename class94 class;
 49.          //clean occupation code names  
>     gen peio1ocd=.;
 50.     if `year'<=1982 replace peio1ocd=occ70;
 51.     else if `year'<=2001 & `year'>=1983 replace peio1ocd=occ80;
 52.     else if `year'<=2010 & `year'>=2002 replace peio1ocd=occ00;
 53.     else if `year'>=2011 & `year'<=2012 replace peio1ocd=occ2011;
 54.     else if `year'>=2013                replace peio1ocd=occ2012;
 55.        //merging in state labels
>    if `year'<=1988 {;
 56.      rename state gestcen;
 57.      merge m:1 gestcen using
>              `pdir'/rawdata/readrawcps/cpssupplemental/gestcen_gestfips_match.dta, assert(3) keep(3);
 58.      drop _merge;
 59.    };
 60.     else if `year'>=1989 {;
 61.        rename stfips gestfips;
 62.       merge m:1 gestfips using
>              `pdir'/rawdata/readrawcps/cpssupplemental/gestcen_gestfips_match.dta, assert(3) keep(3);
 63.          drop _merge;
 64.    };
 65.             gen yearmo=ym(year, month);
 66.     format yearmo %tm;
 67.       *Recode variables;
.     cleangender `y';
 68.     cleanmaritalstatus `y';
 69.     cleanpersonid `y';
 70.     cleaneduc `y';
 71.     cleanlfstat `y';
 72.     cleanempl `y';
 73.     cleanunem `y';
 74.     cleannilf `y';
 75.     *cleanearnwke  `y';
.     *cleanwnber `y';
.     *cleanwage `y';
.     *cleanallocationflag `y';
.     ceprwage `y';
 76.       keep yearmo month year age sex educ92 educ91 gestcen gestfips mis 
>        hh_id linenum orgwgt earnwt hh_tiebreak p_tiebreak hh_num
>        usualhours usualhoursi wage_ceprstyle wage_nberstyle useweekly_ceprstyle tc_paidbyhour tc_weekpay tc_nberstyle tc_ceprstyle
>        nilf peio1ocd
>        ;
 77. /*
>    keep yearmo month year age sex educ92 educ91 gestcen gestfips mis 
>         hh_id linenum orgwgt hh_tiebreak p_tiebreak hh_num usualhours paidhre w_nber 
>         earnwke  female married nilf peio1ocd 
>         wage_ceprstyle wage_nberstyle useweekly_ceprstyle
>         tc_paidbyhour tc_weekpay tc_nberstyle tc_ceprstyle
>     ;
> */
>     /*uhourse alloc*/ 
> 
> ;
.    rename wage_ceprstyle wage;
 78.    rename wage_nberstyle wage_nber;
 79.    rename tc_ceprstyle tc_wage;
 80.    rename tc_nberstyle tc_nber;
 81.    compress;
 82.    tempfile morg`y';
 83.    save `morg`y'';
 84.     };
Starting year 1979.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1979.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg79.dta.gz"
>  filesig(4254347013:9875474)


(328,406 missing values generated)
(0 real changes made)
(0 real changes made)
(328,406 missing values generated)
(249,292 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           328,406  (_merge==3)
    -----------------------------------------
(174,672 missing values generated)
(174,672 real changes made)
(328,406 missing values generated)
(328,406 real changes made)
(210,262 real changes made)
(75,868 real changes made)
(328,406 missing values generated)
(327,182 differences between educ91 and educ91_as92)
(10,272 real changes made)
(0 real changes made)
(328,406 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(132,052 missing values generated)
(78,824 real changes made)
(53,228 real changes made)
(196,354 real changes made)
(132,052 missing values generated)
(78,824 real changes made)
(53,228 real changes made)
(156,661 missing values generated)
(70,252 real changes made)
(328,406 missing values generated)
(101,493 real changes made)
(328,406 missing values generated)
(70,252 real changes made)
(101,493 real changes made)
(0 real changes made)
(156,830 missing values generated)
(156,830 missing values generated)
(156,661 missing values generated)
(6,724 real changes made)
(30,929 real changes made)
(22,165 real changes made)
(119,008 real changes made)
(134,665 real changes made)
(328,406 missing values generated)
(171,695 real changes made)
(226,913 missing values generated)
(1 real change made)
(156,661 missing values generated)
(0 real changes made)
(0 real changes made)
(10 real changes made, 10 to missing)
(60 real changes made, 60 to missing)
(226,913 missing values generated)
(70,246 real changes made)
(226,913 missing values generated)
(70,246 real changes made)
(156,840 missing values generated)
(106 real changes made)
(26,662 real changes made)
(67 real changes made)
(301,638 missing values generated)
(144,971 real changes made)
(301,638 missing values generated)
(144,971 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (26,929,292 bytes saved)
file /tmp/St2868349.000005 saved as .dta format
Starting year 1980.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1980.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg80.dta.gz"
>  filesig(2731720755:11515311)


(385,941 missing values generated)
(0 real changes made)
(0 real changes made)
(385,941 missing values generated)
(293,588 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           385,941  (_merge==3)
    -----------------------------------------
(204,917 missing values generated)
(204,917 real changes made)
(385,941 missing values generated)
(385,941 real changes made)
(244,598 real changes made)
(88,578 real changes made)
(385,941 missing values generated)
(384,581 differences between educ91 and educ91_as92)
(11,651 real changes made)
(0 real changes made)
(385,941 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(156,770 missing values generated)
(92,616 real changes made)
(64,154 real changes made)
(229,171 real changes made)
(156,770 missing values generated)
(92,616 real changes made)
(64,154 real changes made)
(186,472 missing values generated)
(82,415 real changes made)
(385,941 missing values generated)
(117,054 real changes made)
(385,941 missing values generated)
(82,415 real changes made)
(117,054 real changes made)
(0 real changes made)
(186,662 missing values generated)
(186,662 missing values generated)
(186,472 missing values generated)
(8,261 real changes made)
(39,614 real changes made)
(26,320 real changes made)
(138,597 real changes made)
(160,342 real changes made)
(385,941 missing values generated)
(199,414 real changes made)
(268,887 missing values generated)
(1 real change made)
(186,472 missing values generated)
(0 real changes made)
(0 real changes made)
(20 real changes made, 20 to missing)
(75 real changes made, 75 to missing)
(268,887 missing values generated)
(82,405 real changes made)
(268,887 missing values generated)
(82,405 real changes made)
(186,686 missing values generated)
(129 real changes made)
(31,283 real changes made)
(75 real changes made)
(354,529 missing values generated)
(168,047 real changes made)
(354,529 missing values generated)
(168,047 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (31,647,162 bytes saved)
file /tmp/St2868349.000007 saved as .dta format
Starting year 1981.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1981.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg81.dta.gz"
>  filesig(1896703651:10883958)


(363,984 missing values generated)
(0 real changes made)
(0 real changes made)
(363,984 missing values generated)
(275,768 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           363,984  (_merge==3)
    -----------------------------------------
(193,107 missing values generated)
(193,107 real changes made)
(363,984 missing values generated)
(363,984 real changes made)
(229,423 real changes made)
(82,952 real changes made)
(363,984 missing values generated)
(362,739 differences between educ91 and educ91_as92)
(10,928 real changes made)
(0 real changes made)
(363,984 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(149,082 missing values generated)
(86,554 real changes made)
(62,528 real changes made)
(214,902 real changes made)
(149,082 missing values generated)
(86,554 real changes made)
(62,528 real changes made)
(177,061 missing values generated)
(77,267 real changes made)
(363,984 missing values generated)
(109,656 real changes made)
(363,984 missing values generated)
(77,267 real changes made)
(109,656 real changes made)
(0 real changes made)
(177,270 missing values generated)
(177,270 missing values generated)
(177,061 missing values generated)
(7,993 real changes made)
(38,243 real changes made)
(24,741 real changes made)
(130,825 real changes made)
(152,529 real changes made)
(363,984 missing values generated)
(186,844 real changes made)
(254,328 missing values generated)
(0 real changes made)
(177,061 missing values generated)
(0 real changes made)
(0 real changes made)
(14 real changes made, 14 to missing)
(93 real changes made, 93 to missing)
(254,328 missing values generated)
(77,259 real changes made)
(254,328 missing values generated)
(77,259 real changes made)
(177,294 missing values generated)
(143 real changes made)
(28,725 real changes made)
(82 real changes made)
(335,116 missing values generated)
(158,047 real changes made)
(335,116 missing values generated)
(158,047 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (29,846,688 bytes saved)
file /tmp/St2868349.000009 saved as .dta format
Starting year 1982.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1982.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg82.dta.gz"
>  filesig(1944675082:10516995)


(351,023 missing values generated)
(0 real changes made)
(0 real changes made)
(351,023 missing values generated)
(265,127 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           351,023  (_merge==3)
    -----------------------------------------
(186,457 missing values generated)
(186,457 real changes made)
(351,023 missing values generated)
(351,023 real changes made)
(219,893 real changes made)
(78,734 real changes made)
(351,023 missing values generated)
(349,891 differences between educ91 and educ91_as92)
(10,180 real changes made)
(0 real changes made)
(351,023 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(147,956 missing values generated)
(86,985 real changes made)
(60,971 real changes made)
(203,067 real changes made)
(147,956 missing values generated)
(86,985 real changes made)
(60,971 real changes made)
(175,226 missing values generated)
(73,225 real changes made)
(351,023 missing values generated)
(102,572 real changes made)
(351,023 missing values generated)
(73,225 real changes made)
(102,572 real changes made)
(0 real changes made)
(175,401 missing values generated)
(175,401 missing values generated)
(175,226 missing values generated)
(8,127 real changes made)
(41,058 real changes made)
(23,899 real changes made)
(126,041 real changes made)
(151,502 real changes made)
(351,023 missing values generated)
(175,760 real changes made)
(248,451 missing values generated)
(2 real changes made)
(175,226 missing values generated)
(0 real changes made)
(0 real changes made)
(19 real changes made, 19 to missing)
(56 real changes made, 56 to missing)
(248,451 missing values generated)
(73,215 real changes made)
(248,451 missing values generated)
(73,215 real changes made)
(175,423 missing values generated)
(102 real changes made)
(26,133 real changes made)
(85 real changes made)
(324,788 missing values generated)
(149,552 real changes made)
(324,788 missing values generated)
(149,552 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (28,783,886 bytes saved)
file /tmp/St2868349.00000b saved as .dta format
Starting year 1983.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1983.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg83.dta.gz"
>  filesig(2440176860:10711641)


(348,521 missing values generated)
(0 real changes made)
(0 real changes made)
(348,521 missing values generated)
(262,149 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           348,521  (_merge==3)
    -----------------------------------------
(184,665 missing values generated)
(184,665 real changes made)
(348,521 missing values generated)
(348,521 real changes made)
(217,255 real changes made)
(76,616 real changes made)
(348,521 missing values generated)
(347,395 differences between educ91 and educ91_as92)
(9,806 real changes made)
(0 real changes made)
(348,521 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(146,846 missing values generated)
(85,390 real changes made)
(61,456 real changes made)
(201,675 real changes made)
(146,846 missing values generated)
(85,390 real changes made)
(61,456 real changes made)
(174,589 missing values generated)
(71,704 real changes made)
(348,521 missing values generated)
(102,228 real changes made)
(348,521 missing values generated)
(71,704 real changes made)
(102,228 real changes made)
(0 real changes made)
(174,770 missing values generated)
(174,770 missing values generated)
(174,589 missing values generated)
(7,962 real changes made)
(41,457 real changes made)
(24,623 real changes made)
(125,170 real changes made)
(150,147 real changes made)
(348,521 missing values generated)
(173,882 real changes made)
(246,293 missing values generated)
(1 real change made)
(174,589 missing values generated)
(0 real changes made)
(0 real changes made)
(18 real changes made, 18 to missing)
(68 real changes made, 68 to missing)
(246,293 missing values generated)
(71,691 real changes made)
(246,293 missing values generated)
(71,691 real changes made)
(174,790 missing values generated)
(114 real changes made)
(26,019 real changes made)
(74 real changes made)
(322,388 missing values generated)
(147,786 real changes made)
(322,388 missing values generated)
(147,786 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (28,578,722 bytes saved)
file /tmp/St2868349.00000d saved as .dta format
Starting year 1984.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1984.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg84.dta.gz"
>  filesig(1584305987:11411062)


(343,665 missing values generated)
(0 real changes made)
(0 real changes made)
(343,665 missing values generated)
(258,798 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           343,665  (_merge==3)
    -----------------------------------------
(182,398 missing values generated)
(182,398 real changes made)
(343,665 missing values generated)
(343,665 real changes made)
(213,491 real changes made)
(74,572 real changes made)
(343,665 missing values generated)
(342,654 differences between educ91 and educ91_as92)
(9,503 real changes made)
(0 real changes made)
(343,665 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(138,920 missing values generated)
(77,977 real changes made)
(60,943 real changes made)
(204,745 real changes made)
(138,920 missing values generated)
(77,977 real changes made)
(60,943 real changes made)
(166,417 missing values generated)
(72,668 real changes made)
(343,665 missing values generated)
(104,580 real changes made)
(343,665 missing values generated)
(72,668 real changes made)
(104,580 real changes made)
(0 real changes made)
(166,593 missing values generated)
(166,593 missing values generated)
(166,417 missing values generated)
(7,382 real changes made)
(37,119 real changes made)
(24,481 real changes made)
(121,916 real changes made)
(142,112 real changes made)
(343,665 missing values generated)
(177,198 real changes made)
(239,085 missing values generated)
(7 real changes made)
(166,417 missing values generated)
(0 real changes made)
(0 real changes made)
(9 real changes made, 9 to missing)
(59 real changes made, 59 to missing)
(239,085 missing values generated)
(72,660 real changes made)
(239,085 missing values generated)
(72,660 real changes made)
(166,607 missing values generated)
(114 real changes made)
(25,989 real changes made)
(68 real changes made)
(317,562 missing values generated)
(151,137 real changes made)
(317,562 missing values generated)
(151,137 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (28,180,530 bytes saved)
file /tmp/St2868349.00000f saved as .dta format
Starting year 1985.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1985.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg85.dta.gz"
>  filesig(1405233495:11856998)


(343,591 missing values generated)
(0 real changes made)
(0 real changes made)
(343,591 missing values generated)
(259,089 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           343,591  (_merge==3)
    -----------------------------------------
(182,667 missing values generated)
(182,667 real changes made)
(343,591 missing values generated)
(343,591 real changes made)
(211,973 real changes made)
(73,441 real changes made)
(343,591 missing values generated)
(342,709 differences between educ91 and educ91_as92)
(9,315 real changes made)
(0 real changes made)
(343,591 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(136,972 missing values generated)
(74,735 real changes made)
(62,237 real changes made)
(206,619 real changes made)
(136,972 missing values generated)
(74,735 real changes made)
(62,237 real changes made)
(163,359 missing values generated)
(73,737 real changes made)
(343,591 missing values generated)
(106,495 real changes made)
(343,591 missing values generated)
(73,737 real changes made)
(106,495 real changes made)
(0 real changes made)
(163,507 missing values generated)
(163,507 missing values generated)
(163,359 missing values generated)
(6,907 real changes made)
(35,721 real changes made)
(23,336 real changes made)
(120,731 real changes made)
(140,171 real changes made)
(343,591 missing values generated)
(180,183 real changes made)
(237,096 missing values generated)
(5 real changes made)
(469 real changes made)
(461 real changes made)
(163,359 missing values generated)
(0 real changes made)
(0 real changes made)
(26 real changes made, 26 to missing)
(75 real changes made, 75 to missing)
(237,096 missing values generated)
(73,726 real changes made)
(237,096 missing values generated)
(73,726 real changes made)
(163,536 missing values generated)
(122 real changes made)
(25,820 real changes made)
(44 real changes made)
(317,649 missing values generated)
(154,279 real changes made)
(317,649 missing values generated)
(154,279 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (28,174,462 bytes saved)
file /tmp/St2868349.00000h saved as .dta format
Starting year 1986.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1986.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg86.dta.gz"
>  filesig(1618699110:12357757)


(338,051 missing values generated)
(0 real changes made)
(0 real changes made)
(338,051 missing values generated)
(255,054 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           338,051  (_merge==3)
    -----------------------------------------
(180,039 missing values generated)
(180,039 real changes made)
(338,051 missing values generated)
(338,051 real changes made)
(207,411 real changes made)
(71,323 real changes made)
(338,051 missing values generated)
(337,171 differences between educ91 and educ91_as92)
(8,993 real changes made)
(0 real changes made)
(338,051 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(133,112 missing values generated)
(70,845 real changes made)
(62,267 real changes made)
(204,939 real changes made)
(133,112 missing values generated)
(70,845 real changes made)
(62,267 real changes made)
(158,904 missing values generated)
(72,954 real changes made)
(338,051 missing values generated)
(106,193 real changes made)
(338,051 missing values generated)
(72,954 real changes made)
(106,193 real changes made)
(0 real changes made)
(159,082 missing values generated)
(159,082 missing values generated)
(158,904 missing values generated)
(6,622 real changes made)
(34,680 real changes made)
(22,942 real changes made)
(117,602 real changes made)
(136,140 real changes made)
(338,051 missing values generated)
(179,103 real changes made)
(231,858 missing values generated)
(1 real change made)
(448 real changes made)
(441 real changes made)
(158,904 missing values generated)
(0 real changes made)
(0 real changes made)
(27 real changes made, 27 to missing)
(71 real changes made, 71 to missing)
(231,858 missing values generated)
(72,947 real changes made)
(231,858 missing values generated)
(72,947 real changes made)
(159,110 missing values generated)
(130 real changes made)
(24,704 real changes made)
(69 real changes made)
(313,217 missing values generated)
(154,306 real changes made)
(313,217 missing values generated)
(154,306 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (27,720,182 bytes saved)
file /tmp/St2868349.00000j saved as .dta format
Starting year 1987.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1987.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg87.dta.gz"
>  filesig(4212062952:12346941)


(337,000 missing values generated)
(0 real changes made)
(0 real changes made)
(337,000 missing values generated)
(254,602 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           337,000  (_merge==3)
    -----------------------------------------
(179,732 missing values generated)
(179,732 real changes made)
(337,000 missing values generated)
(337,000 real changes made)
(206,317 real changes made)
(70,813 real changes made)
(337,000 missing values generated)
(336,087 differences between educ91 and educ91_as92)
(9,078 real changes made)
(0 real changes made)
(337,000 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(130,380 missing values generated)
(66,797 real changes made)
(63,583 real changes made)
(206,620 real changes made)
(130,380 missing values generated)
(66,797 real changes made)
(63,583 real changes made)
(156,566 missing values generated)
(72,310 real changes made)
(337,000 missing values generated)
(108,124 real changes made)
(337,000 missing values generated)
(72,310 real changes made)
(108,124 real changes made)
(0 real changes made)
(156,690 missing values generated)
(156,690 missing values generated)
(156,566 missing values generated)
(6,929 real changes made)
(33,022 real changes made)
(23,112 real changes made)
(116,615 real changes made)
(133,578 real changes made)
(337,000 missing values generated)
(180,399 real changes made)
(228,876 missing values generated)
(0 real changes made)
(552 real changes made)
(548 real changes made)
(156,566 missing values generated)
(0 real changes made)
(0 real changes made)
(42 real changes made, 42 to missing)
(77 real changes made, 77 to missing)
(228,876 missing values generated)
(72,286 real changes made)
(228,876 missing values generated)
(72,286 real changes made)
(156,733 missing values generated)
(100 real changes made)
(25,121 real changes made)
(43 real changes made)
(311,779 missing values generated)
(155,189 real changes made)
(311,779 missing values generated)
(155,189 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (27,634,000 bytes saved)
file /tmp/St2868349.00000l saved as .dta format
Starting year 1988.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1988.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg88.dta.gz"
>  filesig(2474533092:11774193)


(320,821 missing values generated)
(0 real changes made)
(0 real changes made)
(320,821 missing values generated)
(242,576 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           320,821  (_merge==3)
    -----------------------------------------
(170,646 missing values generated)
(170,646 real changes made)
(320,821 missing values generated)
(320,821 real changes made)
(196,513 real changes made)
(67,038 real changes made)
(320,821 missing values generated)
(320,014 differences between educ91 and educ91_as92)
(8,635 real changes made)
(0 real changes made)
(320,821 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(122,220 missing values generated)
(60,502 real changes made)
(61,718 real changes made)
(198,601 real changes made)
(122,220 missing values generated)
(60,502 real changes made)
(61,718 real changes made)
(147,703 missing values generated)
(68,926 real changes made)
(320,821 missing values generated)
(104,192 real changes made)
(320,821 missing values generated)
(68,926 real changes made)
(104,192 real changes made)
(0 real changes made)
(147,815 missing values generated)
(147,815 missing values generated)
(147,703 missing values generated)
(6,702 real changes made)
(30,441 real changes made)
(22,483 real changes made)
(110,560 real changes made)
(125,332 real changes made)
(320,821 missing values generated)
(173,087 real changes made)
(216,629 missing values generated)
(0 real changes made)
(609 real changes made)
(603 real changes made)
(147,703 missing values generated)
(0 real changes made)
(0 real changes made)
(40 real changes made, 40 to missing)
(71 real changes made, 71 to missing)
(216,629 missing values generated)
(68,904 real changes made)
(216,629 missing values generated)
(68,904 real changes made)
(147,859 missing values generated)
(95 real changes made)
(23,862 real changes made)
(39 real changes made)
(296,864 missing values generated)
(149,139 real changes made)
(296,864 missing values generated)
(149,139 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (26,307,322 bytes saved)
file /tmp/St2868349.00000n saved as .dta format
Starting year 1989.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1989.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg89.dta.gz"
>  filesig(2474806626:11413265)


(324,711 missing values generated)
(452 real changes made)
(0 real changes made)
(324,711 missing values generated)
(246,441 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           324,711  (_merge==3)
    -----------------------------------------
(171,759 missing values generated)
(171,759 real changes made)
(324,711 missing values generated)
(324,711 real changes made)
(190,700 real changes made)
(67,607 real changes made)
(324,711 missing values generated)
(323,896 differences between educ91 and educ91_as92)
(8,361 real changes made)
(0 real changes made)
(324,711 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(122,501 missing values generated)
(10,906 real changes made)
(109,767 real changes made)
(1,828 missing values generated)
(202,210 real changes made)
(122,501 missing values generated)
(10,906 real changes made)
(1,828 missing values generated)
(109,767 real changes made)
(148,300 missing values generated)
(69,817 real changes made)
(324,711 missing values generated)
(106,594 real changes made)
(324,711 missing values generated)
(324,711 missing values generated)
(69,817 real changes made)
(93,192 real changes made)
(148,300 missing values generated)
(148,300 missing values generated)
(148,300 missing values generated)
(36,705 real changes made)
(22,334 real changes made)
(111,595 real changes made)
(125,966 real changes made)
(324,711 missing values generated)
(162,913 real changes made)
(218,117 missing values generated)
(1 real change made)
(16 real changes made)
(9 real changes made)
(161,702 missing values generated)
(0 real changes made)
(0 real changes made)
(25 real changes made, 25 to missing)
(121 real changes made, 121 to missing)
(218,117 missing values generated)
(69,804 real changes made)
(218,117 missing values generated)
(69,804 real changes made)
(161,823 missing values generated)
(13,510 real changes made)
(20,183 real changes made)
(0 real changes made)
(291,018 missing values generated)
(142,705 real changes made)
(291,018 missing values generated)
(142,705 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (26,626,302 bytes saved)
file /tmp/St2868349.00000p saved as .dta format
Starting year 1990.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1990.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg90.dta.gz"
>  filesig(1542864395:13376375)


(341,162 missing values generated)
(827 real changes made)
(0 real changes made)
(341,162 missing values generated)
(258,460 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           341,162  (_merge==3)
    -----------------------------------------
(180,508 missing values generated)
(180,508 real changes made)
(341,162 missing values generated)
(341,162 real changes made)
(198,658 real changes made)
(70,685 real changes made)
(341,162 missing values generated)
(340,264 differences between educ91 and educ91_as92)
(8,498 real changes made)
(0 real changes made)
(341,162 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(129,142 missing values generated)
(12,130 real changes made)
(115,192 real changes made)
(1,820 missing values generated)
(212,020 real changes made)
(129,142 missing values generated)
(12,130 real changes made)
(1,820 missing values generated)
(115,192 real changes made)
(156,132 missing values generated)
(74,106 real changes made)
(341,162 missing values generated)
(110,923 real changes made)
(341,162 missing values generated)
(341,162 missing values generated)
(74,106 real changes made)
(96,917 real changes made)
(156,132 missing values generated)
(156,132 missing values generated)
(156,132 missing values generated)
(39,120 real changes made)
(23,280 real changes made)
(117,012 real changes made)
(132,852 real changes made)
(341,162 missing values generated)
(170,921 real changes made)
(230,239 missing values generated)
(3 real changes made)
(20 real changes made)
(8 real changes made)
(170,139 missing values generated)
(0 real changes made)
(0 real changes made)
(46 real changes made, 46 to missing)
(148 real changes made, 148 to missing)
(230,239 missing values generated)
(74,080 real changes made)
(230,239 missing values generated)
(74,080 real changes made)
(170,287 missing values generated)
(14,128 real changes made)
(20,282 real changes made)
(0 real changes made)
(306,752 missing values generated)
(150,593 real changes made)
(306,752 missing values generated)
(150,593 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (27,975,284 bytes saved)
file /tmp/St2868349.00000r saved as .dta format
Starting year 1991.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1991.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg91.dta.gz"
>  filesig(1109147712:13215154)


(337,649 missing values generated)
(633 real changes made)
(0 real changes made)
(337,649 missing values generated)
(254,206 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           337,649  (_merge==3)
    -----------------------------------------
(178,779 missing values generated)
(178,779 real changes made)
(337,649 missing values generated)
(337,649 real changes made)
(196,384 real changes made)
(69,447 real changes made)
(337,649 missing values generated)
(336,716 differences between educ91 and educ91_as92)
(8,297 real changes made)
(0 real changes made)
(337,649 real changes made)
(0 differences between educ92 and educ92_as91)
(0 real changes made)
(131,660 missing values generated)
(14,612 real changes made)
(115,231 real changes made)
(1,817 missing values generated)
(205,989 real changes made)
(131,660 missing values generated)
(14,612 real changes made)
(1,817 missing values generated)
(115,231 real changes made)
(158,089 missing values generated)
(71,467 real changes made)
(337,649 missing values generated)
(108,093 real changes made)
(337,649 missing values generated)
(337,649 missing values generated)
(71,467 real changes made)
(94,400 real changes made)
(158,089 missing values generated)
(158,089 missing values generated)
(158,089 missing values generated)
(41,041 real changes made)
(22,757 real changes made)
(117,048 real changes made)
(135,332 real changes made)
(337,649 missing values generated)
(165,765 real changes made)
(229,556 missing values generated)
(3 real changes made)
(19 real changes made)
(7 real changes made)
(171,782 missing values generated)
(0 real changes made)
(0 real changes made)
(30 real changes made, 30 to missing)
(132 real changes made, 132 to missing)
(229,556 missing values generated)
(71,452 real changes made)
(229,556 missing values generated)
(71,452 real changes made)
(171,914 missing values generated)
(13,810 real changes made)
(19,963 real changes made)
(0 real changes made)
(303,876 missing values generated)
(145,772 real changes made)
(303,876 missing values generated)
(145,772 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable educ92 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (27,687,218 bytes saved)
file /tmp/St2868349.00000t saved as .dta format
Starting year 1992.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1992.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg92.dta.gz"
>  filesig(552244537:12959575)


(332,184 missing values generated)
(345 real changes made)
(0 real changes made)
(332,184 missing values generated)
(250,160 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           332,184  (_merge==3)
    -----------------------------------------
(175,791 missing values generated)
(175,791 real changes made)
(332,184 missing values generated)
(332,184 real changes made)
(192,413 real changes made)
(332,184 missing values generated)
(332,184 missing values generated)
(332,184 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(332,184 real changes made)
(0 real changes made)
(332,184 differences between educ92 and educ92_as91)
(332,184 real changes made)
(129,968 missing values generated)
(15,646 real changes made)
(112,726 real changes made)
(1,596 missing values generated)
(202,216 real changes made)
(129,968 missing values generated)
(15,646 real changes made)
(1,596 missing values generated)
(112,726 real changes made)
(155,336 missing values generated)
(69,839 real changes made)
(332,184 missing values generated)
(107,005 real changes made)
(332,184 missing values generated)
(332,184 missing values generated)
(69,839 real changes made)
(93,421 real changes made)
(155,336 missing values generated)
(155,336 missing values generated)
(155,336 missing values generated)
(41,014 real changes made)
(21,499 real changes made)
(114,322 real changes made)
(133,837 real changes made)
(332,184 missing values generated)
(163,171 real changes made)
(225,179 missing values generated)
(4 real changes made)
(12 real changes made)
(3 real changes made)
(168,924 missing values generated)
(0 real changes made)
(0 real changes made)
(29 real changes made, 29 to missing)
(118 real changes made, 118 to missing)
(225,179 missing values generated)
(69,825 real changes made)
(225,179 missing values generated)
(69,825 real changes made)
(169,042 missing values generated)
(13,688 real changes made)
(19,103 real changes made)
(0 real changes made)
(299,393 missing values generated)
(144,039 real changes made)
(299,393 missing values generated)
(144,039 real changes made)
(1 real change made, 1 to missing)
(2 real changes made, 2 to missing)
(2 real changes made, 2 to missing)
(2 real changes made, 2 to missing)
(1 real change made, 1 to missing)
(2 real changes made, 2 to missing)
(2 real changes made, 2 to missing)
(2 real changes made, 2 to missing)
(2 real changes made, 2 to missing)
(2 real changes made, 2 to missing)
(2 real changes made, 2 to missing)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (24,913,800 bytes saved)
file /tmp/St2868349.00000v saved as .dta format
Starting year 1993.
WARNING: PROGRAM OUT OF DESIGN RANGE: 1993.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg93.dta.gz"
>  filesig(812716882:12795935)


(328,085 missing values generated)
(346 real changes made)
(0 real changes made)
(328,085 missing values generated)
(245,642 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           328,085  (_merge==3)
    -----------------------------------------
(174,131 missing values generated)
(174,131 real changes made)
(328,085 missing values generated)
(328,085 real changes made)
(189,708 real changes made)
(328,085 missing values generated)
(328,085 missing values generated)
(328,085 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(328,085 real changes made)
(0 real changes made)
(328,085 differences between educ92 and educ92_as91)
(328,085 real changes made)
(128,409 missing values generated)
(14,268 real changes made)
(112,573 real changes made)
(1,568 missing values generated)
(199,676 real changes made)
(128,409 missing values generated)
(14,268 real changes made)
(1,568 missing values generated)
(112,573 real changes made)
(153,490 missing values generated)
(68,992 real changes made)
(328,085 missing values generated)
(105,602 real changes made)
(328,085 missing values generated)
(328,085 missing values generated)
(68,992 real changes made)
(91,174 real changes made)
(153,490 missing values generated)
(153,490 missing values generated)
(153,490 missing values generated)
(39,349 real changes made)
(21,525 real changes made)
(114,141 real changes made)
(131,965 real changes made)
(328,085 missing values generated)
(160,083 real changes made)
(222,483 missing values generated)
(3 real changes made)
(20 real changes made)
(6 real changes made)
(167,919 missing values generated)
(0 real changes made)
(0 real changes made)
(36 real changes made, 36 to missing)
(119 real changes made, 119 to missing)
(222,483 missing values generated)
(68,972 real changes made)
(222,483 missing values generated)
(68,972 real changes made)
(168,038 missing values generated)
(14,527 real changes made)
(18,262 real changes made)
(0 real changes made)
(295,296 missing values generated)
(141,785 real changes made)
(295,296 missing values generated)
(141,785 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (24,606,375 bytes saved)
file /tmp/St2868349.00000x saved as .dta format
Starting year 1994.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg94.dta.gz"
>  filesig(2361023505:10560648)


(319,234 missing values generated)
(0 real changes made)
(0 real changes made)
(319,234 missing values generated)
(220,332 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           319,234  (_merge==3)
    -----------------------------------------
(169,434 missing values generated)
(169,434 real changes made)
(319,234 missing values generated)
(319,234 real changes made)
(184,338 real changes made)
(319,234 missing values generated)
(319,234 missing values generated)
(319,234 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(319,234 real changes made)
(0 real changes made)
(319,234 differences between educ92 and educ92_as91)
(319,234 real changes made)
(122,969 missing values generated)
(11,945 real changes made)
(109,506 real changes made)
(1,518 missing values generated)
(196,265 real changes made)
(122,969 missing values generated)
(11,945 real changes made)
(1,518 missing values generated)
(109,506 real changes made)
(148,430 missing values generated)
(65,884 real changes made)
(319,234 missing values generated)
(104,762 real changes made)
(319,234 missing values generated)
(170,804 real changes made)
(0 real changes made)
(137,901 missing values generated)
(137,901 missing values generated)
(137,557 missing values generated)
(26,533 real changes made)
(12,788 real changes made)
(111,024 real changes made)
(125,113 real changes made)
(319,234 missing values generated)
(170,232 real changes made)
(214,472 missing values generated)
(4 real changes made)
(371 real changes made)
(365 real changes made)
(148,430 missing values generated)
(0 real changes made)
(0 real changes made)
(125 real changes made, 125 to missing)
(697 real changes made, 697 to missing)
(214,472 missing values generated)
(65,368 real changes made)
(214,472 missing values generated)
(65,368 real changes made)
(159,079 missing values generated)
(6,325 real changes made)
(27,521 real changes made)
(3,727 real changes made)
(285,388 missing values generated)
(136,361 real changes made)
(285,388 missing values generated)
(136,361 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,942,550 bytes saved)
file /tmp/St2868349.000011 saved as .dta format
Starting year 1995.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg95.dta.gz"
>  filesig(3261397204:10639796)


(314,351 missing values generated)
(0 real changes made)
(0 real changes made)
(314,351 missing values generated)
(217,021 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           314,351  (_merge==3)
    -----------------------------------------
(166,566 missing values generated)
(166,566 real changes made)
(314,351 missing values generated)
(314,351 real changes made)
(181,340 real changes made)
(314,351 missing values generated)
(314,351 missing values generated)
(314,351 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(314,351 real changes made)
(0 real changes made)
(314,351 differences between educ92 and educ92_as91)
(314,351 real changes made)
(119,594 missing values generated)
(10,850 real changes made)
(107,232 real changes made)
(1,512 missing values generated)
(194,757 real changes made)
(119,594 missing values generated)
(10,850 real changes made)
(1,512 missing values generated)
(107,232 real changes made)
(144,044 missing values generated)
(65,326 real changes made)
(314,351 missing values generated)
(104,899 real changes made)
(314,351 missing values generated)
(170,307 real changes made)
(0 real changes made)
(134,854 missing values generated)
(134,854 missing values generated)
(134,610 missing values generated)
(25,866 real changes made)
(13,135 real changes made)
(108,744 real changes made)
(121,719 real changes made)
(314,351 missing values generated)
(169,781 real changes made)
(209,452 missing values generated)
(0 real changes made)
(268 real changes made)
(247 real changes made)
(144,044 missing values generated)
(0 real changes made)
(0 real changes made)
(117 real changes made, 117 to missing)
(643 real changes made, 643 to missing)
(209,452 missing values generated)
(64,824 real changes made)
(209,452 missing values generated)
(64,824 real changes made)
(155,072 missing values generated)
(6,620 real changes made)
(26,554 real changes made)
(3,861 real changes made)
(281,177 missing values generated)
(136,586 real changes made)
(281,177 missing values generated)
(136,586 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,576,325 bytes saved)
file /tmp/St2868349.000013 saved as .dta format
Starting year 1996.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg96.dta.gz"
>  filesig(1777746482:9639683)


(277,856 missing values generated)
(0 real changes made)
(0 real changes made)
(277,856 missing values generated)
(192,442 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           277,856  (_merge==3)
    -----------------------------------------
(147,172 missing values generated)
(147,172 real changes made)
(277,856 missing values generated)
(277,856 real changes made)
(159,588 real changes made)
(277,856 missing values generated)
(277,856 missing values generated)
(277,856 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(277,856 real changes made)
(0 real changes made)
(277,856 differences between educ92 and educ92_as91)
(277,856 real changes made)
(104,435 missing values generated)
(9,352 real changes made)
(93,837 real changes made)
(1,246 missing values generated)
(173,421 real changes made)
(104,435 missing values generated)
(9,352 real changes made)
(1,246 missing values generated)
(93,837 real changes made)
(125,666 missing values generated)
(58,203 real changes made)
(277,856 missing values generated)
(93,925 real changes made)
(277,856 missing values generated)
(152,190 real changes made)
(0 real changes made)
(119,635 missing values generated)
(119,635 missing values generated)
(119,421 missing values generated)
(24,338 real changes made)
(13,073 real changes made)
(95,083 real changes made)
(106,562 real changes made)
(277,856 missing values generated)
(151,722 real changes made)
(183,931 missing values generated)
(1 real change made)
(197 real changes made)
(190 real changes made)
(125,666 missing values generated)
(0 real changes made)
(0 real changes made)
(95 real changes made, 95 to missing)
(563 real changes made, 563 to missing)
(183,931 missing values generated)
(57,739 real changes made)
(183,931 missing values generated)
(57,739 real changes made)
(136,719 missing values generated)
(6,587 real changes made)
(23,320 real changes made)
(3,972 real changes made)
(247,949 missing values generated)
(121,789 real changes made)
(247,949 missing values generated)
(121,789 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (20,839,200 bytes saved)
file /tmp/St2868349.000015 saved as .dta format
Starting year 1997.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg97.dta.gz"
>  filesig(2281055768:9694447)


(280,655 missing values generated)
(0 real changes made)
(0 real changes made)
(280,655 missing values generated)
(194,787 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           280,655  (_merge==3)
    -----------------------------------------
(148,122 missing values generated)
(148,122 real changes made)
(280,655 missing values generated)
(280,655 real changes made)
(159,442 real changes made)
(280,655 missing values generated)
(280,655 missing values generated)
(280,655 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(280,655 real changes made)
(0 real changes made)
(280,655 differences between educ92 and educ92_as91)
(280,655 real changes made)
(103,984 missing values generated)
(8,742 real changes made)
(93,991 real changes made)
(1,251 missing values generated)
(176,671 real changes made)
(103,984 missing values generated)
(8,742 real changes made)
(1,251 missing values generated)
(93,991 real changes made)
(125,700 missing values generated)
(59,383 real changes made)
(280,655 missing values generated)
(95,512 real changes made)
(280,655 missing values generated)
(154,955 real changes made)
(0 real changes made)
(119,392 missing values generated)
(119,392 missing values generated)
(119,175 missing values generated)
(23,933 real changes made)
(13,362 real changes made)
(95,242 real changes made)
(106,030 real changes made)
(280,655 missing values generated)
(154,539 real changes made)
(185,143 missing values generated)
(2 real changes made)
(201 real changes made)
(184 real changes made)
(125,700 missing values generated)
(0 real changes made)
(0 real changes made)
(123 real changes made, 123 to missing)
(539 real changes made, 539 to missing)
(185,143 missing values generated)
(58,958 real changes made)
(185,143 missing values generated)
(58,958 real changes made)
(136,733 missing values generated)
(6,636 real changes made)
(23,092 real changes made)
(3,941 real changes made)
(250,927 missing values generated)
(124,771 real changes made)
(250,927 missing values generated)
(124,771 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (21,049,125 bytes saved)
file /tmp/St2868349.000017 saved as .dta format
Starting year 1998.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg98.dta.gz"
>  filesig(1391111620:13728184)


(280,392 missing values generated)
(0 real changes made)
(0 real changes made)
(280,392 missing values generated)
(195,380 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           280,392  (_merge==3)
    -----------------------------------------
(147,624 missing values generated)
(147,624 real changes made)
(280,392 missing values generated)
(280,392 real changes made)
(159,126 real changes made)
(280,392 missing values generated)
(280,392 missing values generated)
(280,392 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(280,392 real changes made)
(0 real changes made)
(280,392 differences between educ92 and educ92_as91)
(280,392 real changes made)
(102,055 missing values generated)
(8,013 real changes made)
(92,871 real changes made)
(1,171 missing values generated)
(178,337 real changes made)
(102,055 missing values generated)
(8,013 real changes made)
(1,171 missing values generated)
(92,871 real changes made)
(123,402 missing values generated)
(60,970 real changes made)
(280,392 missing values generated)
(95,947 real changes made)
(280,392 missing values generated)
(156,990 real changes made)
(0 real changes made)
(117,551 missing values generated)
(117,551 missing values generated)
(117,361 missing values generated)
(23,319 real changes made)
(13,505 real changes made)
(94,042 real changes made)
(104,046 real changes made)
(280,392 missing values generated)
(156,611 real changes made)
(184,445 missing values generated)
(3 real changes made)
(78 real changes made)
(78 real changes made)
(123,402 missing values generated)
(0 real changes made)
(0 real changes made)
(172 real changes made, 172 to missing)
(551 real changes made, 551 to missing)
(184,445 missing values generated)
(60,544 real changes made)
(184,445 missing values generated)
(60,544 real changes made)
(134,627 missing values generated)
(6,676 real changes made)
(23,306 real changes made)
(4,084 real changes made)
(250,410 missing values generated)
(126,543 real changes made)
(250,410 missing values generated)
(126,543 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (21,029,400 bytes saved)
file /tmp/St2868349.000019 saved as .dta format
Starting year 1999.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg99.dta.gz"
>  filesig(1616330234:14206256)


(282,716 missing values generated)
(0 real changes made)
(0 real changes made)
(282,716 missing values generated)
(196,982 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           282,716  (_merge==3)
    -----------------------------------------
(148,670 missing values generated)
(148,670 real changes made)
(282,716 missing values generated)
(282,716 real changes made)
(160,716 real changes made)
(282,716 missing values generated)
(282,716 missing values generated)
(282,716 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(282,716 real changes made)
(0 real changes made)
(282,716 differences between educ92 and educ92_as91)
(282,716 real changes made)
(102,339 missing values generated)
(7,508 real changes made)
(93,792 real changes made)
(1,039 missing values generated)
(180,377 real changes made)
(102,339 missing values generated)
(7,508 real changes made)
(1,039 missing values generated)
(93,792 real changes made)
(123,338 missing values generated)
(62,430 real changes made)
(282,716 missing values generated)
(96,864 real changes made)
(282,716 missing values generated)
(159,362 real changes made)
(0 real changes made)
(117,491 missing values generated)
(117,491 missing values generated)
(117,328 missing values generated)
(22,497 real changes made)
(13,246 real changes made)
(94,831 real changes made)
(104,245 real changes made)
(282,716 missing values generated)
(158,950 real changes made)
(185,852 missing values generated)
(4 real changes made)
(98 real changes made)
(98 real changes made)
(123,354 missing values generated)
(0 real changes made)
(0 real changes made)
(155 real changes made, 155 to missing)
(567 real changes made, 567 to missing)
(185,852 missing values generated)
(61,983 real changes made)
(185,852 missing values generated)
(61,983 real changes made)
(134,563 missing values generated)
(6,599 real changes made)
(22,657 real changes made)
(4,128 real changes made)
(253,460 missing values generated)
(129,624 real changes made)
(253,460 missing values generated)
(129,624 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (21,203,700 bytes saved)
file /tmp/St2868349.00001b saved as .dta format
Starting year 2000.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg00.dta.gz"
>  filesig(4291067440:18631100)


(283,236 missing values generated)
(0 real changes made)
(0 real changes made)
(283,236 missing values generated)
(198,169 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           283,236  (_merge==3)
    -----------------------------------------
(148,667 missing values generated)
(148,667 real changes made)
(283,236 missing values generated)
(283,236 real changes made)
(160,192 real changes made)
(283,236 missing values generated)
(283,236 missing values generated)
(283,236 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(283,236 real changes made)
(0 real changes made)
(283,236 differences between educ92 and educ92_as91)
(283,236 real changes made)
(101,586 missing values generated)
(7,160 real changes made)
(93,439 real changes made)
(987 missing values generated)
(181,650 real changes made)
(101,586 missing values generated)
(7,160 real changes made)
(987 missing values generated)
(93,439 real changes made)
(122,110 missing values generated)
(63,787 real changes made)
(283,236 missing values generated)
(97,278 real changes made)
(283,236 missing values generated)
(161,126 real changes made)
(0 real changes made)
(116,569 missing values generated)
(116,569 missing values generated)
(116,445 missing values generated)
(22,019 real changes made)
(12,981 real changes made)
(94,426 real changes made)
(103,588 real changes made)
(283,236 missing values generated)
(160,763 real changes made)
(185,958 missing values generated)
(4 real changes made)
(117 real changes made)
(117 real changes made)
(122,110 missing values generated)
(0 real changes made)
(0 real changes made)
(173 real changes made, 173 to missing)
(536 real changes made, 536 to missing)
(185,958 missing values generated)
(63,384 real changes made)
(185,958 missing values generated)
(63,384 real changes made)
(133,206 missing values generated)
(6,471 real changes made)
(22,289 real changes made)
(4,185 real changes made)
(254,476 missing values generated)
(131,926 real changes made)
(254,476 missing values generated)
(131,926 real changes made)
(321 real changes made, 321 to missing)
(560 real changes made, 560 to missing)
(560 real changes made, 560 to missing)
(560 real changes made, 560 to missing)
(321 real changes made, 321 to missing)
(560 real changes made, 560 to missing)
(560 real changes made, 560 to missing)
(560 real changes made, 560 to missing)
(560 real changes made, 560 to missing)
(562 real changes made, 562 to missing)
(562 real changes made, 562 to missing)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (21,242,700 bytes saved)
file /tmp/St2868349.00001d saved as .dta format
Starting year 2001.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg01.dta.gz"
>  filesig(1133766409:19989721)


(303,036 missing values generated)
(0 real changes made)
(0 real changes made)
(303,036 missing values generated)
(212,057 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           303,036  (_merge==3)
    -----------------------------------------
(158,949 missing values generated)
(158,949 real changes made)
(303,036 missing values generated)
(303,036 real changes made)
(170,538 real changes made)
(303,036 missing values generated)
(303,036 missing values generated)
(303,036 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(303,036 real changes made)
(0 real changes made)
(303,036 differences between educ92 and educ92_as91)
(303,036 real changes made)
(109,939 missing values generated)
(8,845 real changes made)
(100,010 real changes made)
(1,084 missing values generated)
(193,097 real changes made)
(109,939 missing values generated)
(8,845 real changes made)
(1,084 missing values generated)
(100,010 real changes made)
(131,503 missing values generated)
(67,718 real changes made)
(303,036 missing values generated)
(103,757 real changes made)
(303,036 missing values generated)
(171,533 real changes made)
(0 real changes made)
(126,595 missing values generated)
(126,595 missing values generated)
(126,440 missing values generated)
(25,346 real changes made)
(14,540 real changes made)
(101,094 real changes made)
(112,055 real changes made)
(303,036 missing values generated)
(171,135 real changes made)
(199,279 missing values generated)
(10 real changes made)
(103 real changes made)
(103 real changes made)
(131,503 missing values generated)
(0 real changes made)
(0 real changes made)
(232 real changes made, 232 to missing)
(630 real changes made, 630 to missing)
(199,279 missing values generated)
(67,244 real changes made)
(199,279 missing values generated)
(67,244 real changes made)
(143,885 missing values generated)
(7,284 real changes made)
(24,001 real changes made)
(4,588 real changes made)
(271,751 missing values generated)
(139,738 real changes made)
(271,751 missing values generated)
(139,738 real changes made)
(346 real changes made, 346 to missing)
(585 real changes made, 585 to missing)
(585 real changes made, 585 to missing)
(585 real changes made, 585 to missing)
(346 real changes made, 346 to missing)
(585 real changes made, 585 to missing)
(585 real changes made, 585 to missing)
(585 real changes made, 585 to missing)
(585 real changes made, 585 to missing)
(588 real changes made, 588 to missing)
(588 real changes made, 588 to missing)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (22,727,700 bytes saved)
file /tmp/St2868349.00001f saved as .dta format
Starting year 2002.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg02.dta.gz"
>  filesig(415957298:21595724)


(329,972 missing values generated)
(0 real changes made)
(0 real changes made)
(329,972 missing values generated)
(229,249 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           329,972  (_merge==3)
    -----------------------------------------
(173,104 missing values generated)
(173,104 real changes made)
(329,972 missing values generated)
(329,972 real changes made)
(185,438 real changes made)
(1 missing value generated)
(329,972 missing values generated)
(329,972 missing values generated)
(329,972 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(329,971 real changes made)
(0 real changes made)
(329,971 differences between educ92 and educ92_as91)
(329,971 real changes made)
(122,554 missing values generated)
(11,611 real changes made)
(109,646 real changes made)
(1,297 missing values generated)
(207,418 real changes made)
(122,554 missing values generated)
(11,611 real changes made)
(1,297 missing values generated)
(109,646 real changes made)
(145,835 missing values generated)
(73,363 real changes made)
(329,972 missing values generated)
(110,715 real changes made)
(329,972 missing values generated)
(184,137 real changes made)
(0 real changes made)
(139,921 missing values generated)
(139,921 missing values generated)
(139,730 missing values generated)
(28,787 real changes made)
(15,005 real changes made)
(110,943 real changes made)
(124,916 real changes made)
(329,972 missing values generated)
(183,708 real changes made)
(219,257 missing values generated)
(8 real changes made)
(139 real changes made)
(139 real changes made)
(145,835 missing values generated)
(0 real changes made)
(0 real changes made)
(274 real changes made, 274 to missing)
(703 real changes made, 703 to missing)
(219,257 missing values generated)
(72,825 real changes made)
(219,257 missing values generated)
(72,825 real changes made)
(158,904 missing values generated)
(7,678 real changes made)
(25,777 real changes made)
(4,807 real changes made)
(296,517 missing values generated)
(150,098 real changes made)
(296,517 missing values generated)
(150,098 real changes made)
(344 real changes made, 344 to missing)
(590 real changes made, 590 to missing)
(590 real changes made, 590 to missing)
(590 real changes made, 590 to missing)
(344 real changes made, 344 to missing)
(590 real changes made, 590 to missing)
(590 real changes made, 590 to missing)
(590 real changes made, 590 to missing)
(590 real changes made, 590 to missing)
(597 real changes made, 597 to missing)
(597 real changes made, 597 to missing)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (24,747,900 bytes saved)
file /tmp/St2868349.00001h saved as .dta format
Starting year 2003.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg03.dta.gz"
>  filesig(2134309848:16474246)


(328,608 missing values generated)
(0 real changes made)
(0 real changes made)
(328,608 missing values generated)
(226,274 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           328,608  (_merge==3)
    -----------------------------------------
(172,316 missing values generated)
(172,316 real changes made)
(328,608 missing values generated)
(328,608 real changes made)
(184,344 real changes made)
(328,608 missing values generated)
(328,608 missing values generated)
(328,608 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(328,608 real changes made)
(0 real changes made)
(328,608 differences between educ92 and educ92_as91)
(328,608 real changes made)
(123,603 missing values generated)
(11,888 real changes made)
(110,401 real changes made)
(1,314 missing values generated)
(205,005 real changes made)
(123,603 missing values generated)
(11,888 real changes made)
(1,314 missing values generated)
(110,401 real changes made)
(147,778 missing values generated)
(71,912 real changes made)
(328,608 missing values generated)
(108,873 real changes made)
(328,608 missing values generated)
(180,830 real changes made)
(0 real changes made)
(142,016 missing values generated)
(142,016 missing values generated)
(141,863 missing values generated)
(30,148 real changes made)
(16,078 real changes made)
(111,715 real changes made)
(125,938 real changes made)
(328,608 missing values generated)
(180,495 real changes made)
(219,735 missing values generated)
(3 real changes made)
(114 real changes made)
(114 real changes made)
(147,778 missing values generated)
(1,860 real changes made)
(1,699 real changes made)
(251 real changes made, 251 to missing)
(586 real changes made, 586 to missing)
(219,735 missing values generated)
(71,461 real changes made)
(219,735 missing values generated)
(71,461 real changes made)
(161,316 missing values generated)
(8,163 real changes made)
(13,973 real changes made)
(4,898 real changes made)
(306,472 missing values generated)
(158,217 real changes made)
(306,472 missing values generated)
(158,217 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (24,645,600 bytes saved)
file /tmp/St2868349.00001j saved as .dta format
Starting year 2004.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg04.dta.gz"
>  filesig(3496275696:16823054)


(0 real changes made)
(0 real changes made)
(322,929 missing values generated)
(221,914 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           322,929  (_merge==3)
    -----------------------------------------
(168,955 missing values generated)
(168,955 real changes made)
(322,929 missing values generated)
(322,929 real changes made)
(180,785 real changes made)
(322,929 missing values generated)
(322,929 missing values generated)
(322,929 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(322,929 real changes made)
(0 real changes made)
(322,929 differences between educ92 and educ92_as91)
(322,929 real changes made)
(121,123 missing values generated)
(10,857 real changes made)
(108,873 real changes made)
(1,393 missing values generated)
(201,806 real changes made)
(121,123 missing values generated)
(10,857 real changes made)
(1,393 missing values generated)
(108,873 real changes made)
(145,071 missing values generated)
(70,414 real changes made)
(322,929 missing values generated)
(107,386 real changes made)
(322,929 missing values generated)
(177,858 real changes made)
(0 real changes made)
(139,702 missing values generated)
(139,702 missing values generated)
(139,539 missing values generated)
(29,273 real changes made)
(16,096 real changes made)
(110,266 real changes made)
(123,606 real changes made)
(322,929 missing values generated)
(177,528 real changes made)
(215,543 missing values generated)
(4 real changes made)
(144 real changes made)
(144 real changes made)
(145,071 missing values generated)
(2,042 real changes made)
(1,869 real changes made)
(241 real changes made, 241 to missing)
(571 real changes made, 571 to missing)
(215,543 missing values generated)
(69,976 real changes made)
(215,543 missing values generated)
(69,976 real changes made)
(158,746 missing values generated)
(8,204 real changes made)
(13,717 real changes made)
(4,999 real changes made)
(301,008 missing values generated)
(155,465 real changes made)
(301,008 missing values generated)
(155,465 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (24,219,675 bytes saved)
file /tmp/St2868349.00001l saved as .dta format
Starting year 2005.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg05.dta.gz"
>  filesig(2437813317:16737075)


(0 real changes made)
(0 real changes made)
(322,991 missing values generated)
(222,243 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           322,991  (_merge==3)
    -----------------------------------------
(168,958 missing values generated)
(168,958 real changes made)
(322,991 missing values generated)
(322,991 real changes made)
(179,315 real changes made)
(322,991 missing values generated)
(322,991 missing values generated)
(322,991 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(322,991 real changes made)
(0 real changes made)
(322,991 differences between educ92 and educ92_as91)
(322,991 real changes made)
(119,943 missing values generated)
(9,898 real changes made)
(108,630 real changes made)
(1,415 missing values generated)
(203,048 real changes made)
(119,943 missing values generated)
(9,898 real changes made)
(1,415 missing values generated)
(108,630 real changes made)
(143,843 missing values generated)
(70,475 real changes made)
(322,991 missing values generated)
(108,609 real changes made)
(322,991 missing values generated)
(179,148 real changes made)
(0 real changes made)
(138,506 missing values generated)
(138,506 missing values generated)
(138,335 missing values generated)
(28,290 real changes made)
(16,049 real changes made)
(110,045 real changes made)
(122,457 real changes made)
(322,991 missing values generated)
(178,775 real changes made)
(214,382 missing values generated)
(11 real changes made)
(155 real changes made)
(155 real changes made)
(143,843 missing values generated)
(2,286 real changes made)
(2,098 real changes made)
(268 real changes made, 268 to missing)
(641 real changes made, 641 to missing)
(214,382 missing values generated)
(69,987 real changes made)
(214,382 missing values generated)
(69,987 real changes made)
(157,590 missing values generated)
(8,256 real changes made)
(14,092 real changes made)
(4,961 real changes made)
(300,643 missing values generated)
(156,270 real changes made)
(300,643 missing values generated)
(156,270 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (24,224,325 bytes saved)
file /tmp/St2868349.00001n saved as .dta format
Starting year 2006.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg06.dta.gz"
>  filesig(566559757:16265700)


(0 real changes made)
(0 real changes made)
(320,551 missing values generated)
(220,469 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           320,551  (_merge==3)
    -----------------------------------------
(167,450 missing values generated)
(167,450 real changes made)
(320,551 missing values generated)
(320,551 real changes made)
(176,924 real changes made)
(320,551 missing values generated)
(320,551 missing values generated)
(320,551 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(320,551 real changes made)
(0 real changes made)
(320,551 differences between educ92 and educ92_as91)
(320,551 real changes made)
(117,956 missing values generated)
(8,885 real changes made)
(107,747 real changes made)
(1,324 missing values generated)
(202,595 real changes made)
(117,956 missing values generated)
(8,885 real changes made)
(1,324 missing values generated)
(107,747 real changes made)
(141,890 missing values generated)
(71,028 real changes made)
(320,551 missing values generated)
(107,576 real changes made)
(320,551 missing values generated)
(178,661 real changes made)
(0 real changes made)
(135,431 missing values generated)
(135,431 missing values generated)
(135,272 missing values generated)
(26,201 real changes made)
(15,138 real changes made)
(109,071 real changes made)
(120,293 real changes made)
(320,551 missing values generated)
(178,283 real changes made)
(212,975 missing values generated)
(18 real changes made)
(152 real changes made)
(152 real changes made)
(141,890 missing values generated)
(2,626 real changes made)
(2,416 real changes made)
(308 real changes made, 308 to missing)
(686 real changes made, 686 to missing)
(212,975 missing values generated)
(70,516 real changes made)
(212,975 missing values generated)
(70,516 real changes made)
(154,798 missing values generated)
(7,605 real changes made)
(14,197 real changes made)
(4,763 real changes made)
(298,749 missing values generated)
(156,319 real changes made)
(298,749 missing values generated)
(156,319 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (24,041,325 bytes saved)
file /tmp/St2868349.00001p saved as .dta format
Starting year 2007.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg07.dta.gz"
>  filesig(2523054352:16277787)


(0 real changes made)
(0 real changes made)
(318,207 missing values generated)
(218,141 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           318,207  (_merge==3)
    -----------------------------------------
(166,327 missing values generated)
(166,327 real changes made)
(318,207 missing values generated)
(318,207 real changes made)
(175,602 real changes made)
(318,207 missing values generated)
(318,207 missing values generated)
(318,207 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(318,207 real changes made)
(0 real changes made)
(318,207 differences between educ92 and educ92_as91)
(318,207 real changes made)
(117,592 missing values generated)
(8,817 real changes made)
(107,513 real changes made)
(1,262 missing values generated)
(200,615 real changes made)
(117,592 missing values generated)
(8,817 real changes made)
(1,262 missing values generated)
(107,513 real changes made)
(141,184 missing values generated)
(72,068 real changes made)
(318,207 missing values generated)
(104,879 real changes made)
(318,207 missing values generated)
(177,023 real changes made)
(0 real changes made)
(133,713 missing values generated)
(133,713 missing values generated)
(133,580 missing values generated)
(24,805 real changes made)
(13,992 real changes made)
(108,775 real changes made)
(119,721 real changes made)
(318,207 missing values generated)
(176,613 real changes made)
(213,328 missing values generated)
(11 real changes made)
(214 real changes made)
(214 real changes made)
(141,184 missing values generated)
(2,970 real changes made)
(2,659 real changes made)
(344 real changes made, 344 to missing)
(754 real changes made, 754 to missing)
(213,328 missing values generated)
(71,511 real changes made)
(213,328 missing values generated)
(71,511 real changes made)
(153,132 missing values generated)
(6,817 real changes made)
(14,129 real changes made)
(4,519 real changes made)
(297,261 missing values generated)
(155,465 real changes made)
(297,261 missing values generated)
(155,465 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,865,525 bytes saved)
file /tmp/St2868349.00001r saved as .dta format
Starting year 2008.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg08.dta.gz"
>  filesig(3197617210:16411053)


(0 real changes made)
(0 real changes made)
(317,341 missing values generated)
(217,142 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           317,341  (_merge==3)
    -----------------------------------------
(165,688 missing values generated)
(165,688 real changes made)
(317,341 missing values generated)
(317,341 real changes made)
(173,821 real changes made)
(317,341 missing values generated)
(317,341 missing values generated)
(317,341 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(317,341 real changes made)
(0 real changes made)
(317,341 differences between educ92 and educ92_as91)
(317,341 real changes made)
(119,360 missing values generated)
(10,853 real changes made)
(107,222 real changes made)
(1,285 missing values generated)
(197,981 real changes made)
(119,360 missing values generated)
(10,853 real changes made)
(1,285 missing values generated)
(107,222 real changes made)
(142,444 missing values generated)
(71,851 real changes made)
(317,341 missing values generated)
(102,986 real changes made)
(317,341 missing values generated)
(174,897 real changes made)
(0 real changes made)
(135,084 missing values generated)
(135,084 missing values generated)
(134,957 missing values generated)
(26,450 real changes made)
(13,423 real changes made)
(108,507 real changes made)
(121,661 real changes made)
(317,341 missing values generated)
(174,561 real changes made)
(214,355 missing values generated)
(18 real changes made)
(241 real changes made)
(241 real changes made)
(142,444 missing values generated)
(3,397 real changes made)
(2,999 real changes made)
(355 real changes made, 355 to missing)
(691 real changes made, 691 to missing)
(214,355 missing values generated)
(71,317 real changes made)
(214,355 missing values generated)
(71,317 real changes made)
(154,043 missing values generated)
(6,787 real changes made)
(14,527 real changes made)
(4,250 real changes made)
(296,027 missing values generated)
(153,021 real changes made)
(296,027 missing values generated)
(153,021 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,800,575 bytes saved)
file /tmp/St2868349.00001t saved as .dta format
Starting year 2009.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg09.dta.gz"
>  filesig(938558251:16542043)


(0 real changes made)
(0 real changes made)
(320,941 missing values generated)
(217,281 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           320,941  (_merge==3)
    -----------------------------------------
(167,217 missing values generated)
(167,217 real changes made)
(320,941 missing values generated)
(320,941 real changes made)
(174,818 real changes made)
(320,941 missing values generated)
(320,941 missing values generated)
(320,941 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(320,941 real changes made)
(0 real changes made)
(320,941 differences between educ92 and educ92_as91)
(320,941 real changes made)
(129,052 missing values generated)
(17,643 real changes made)
(110,094 real changes made)
(1,315 missing values generated)
(191,889 real changes made)
(129,052 missing values generated)
(17,643 real changes made)
(1,315 missing values generated)
(110,094 real changes made)
(151,214 missing values generated)
(69,712 real changes made)
(320,941 missing values generated)
(99,979 real changes made)
(320,941 missing values generated)
(169,727 real changes made)
(0 real changes made)
(144,769 missing values generated)
(144,769 missing values generated)
(144,639 missing values generated)
(33,230 real changes made)
(13,204 real changes made)
(111,409 real changes made)
(131,565 real changes made)
(320,941 missing values generated)
(169,320 real changes made)
(220,962 missing values generated)
(7 real changes made)
(232 real changes made)
(232 real changes made)
(151,214 missing values generated)
(3,490 real changes made)
(3,147 real changes made)
(379 real changes made, 379 to missing)
(786 real changes made, 786 to missing)
(220,962 missing values generated)
(69,123 real changes made)
(220,962 missing values generated)
(69,123 real changes made)
(162,805 missing values generated)
(6,938 real changes made)
(14,189 real changes made)
(4,039 real changes made)
(299,814 missing values generated)
(147,986 real changes made)
(299,814 missing values generated)
(147,986 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (24,070,575 bytes saved)
file /tmp/St2868349.00001v saved as .dta format
Starting year 2010.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg10.dta.gz"
>  filesig(3033616822:16214062)


(0 real changes made)
(0 real changes made)
(321,277 missing values generated)
(214,361 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           321,277  (_merge==3)
    -----------------------------------------
(167,604 missing values generated)
(167,604 real changes made)
(321,277 missing values generated)
(321,277 real changes made)
(172,453 real changes made)
(321,277 missing values generated)
(321,277 missing values generated)
(321,277 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(321,277 real changes made)
(0 real changes made)
(321,277 differences between educ92 and educ92_as91)
(321,277 real changes made)
(132,019 missing values generated)
(18,173 real changes made)
(112,483 real changes made)
(1,363 missing values generated)
(189,258 real changes made)
(132,019 missing values generated)
(18,173 real changes made)
(1,363 missing values generated)
(112,483 real changes made)
(153,449 missing values generated)
(68,186 real changes made)
(321,277 missing values generated)
(99,586 real changes made)
(321,277 missing values generated)
(167,828 real changes made)
(0 real changes made)
(147,273 missing values generated)
(147,273 missing values generated)
(147,101 missing values generated)
(33,255 real changes made)
(12,862 real changes made)
(113,846 real changes made)
(134,411 real changes made)
(321,277 missing values generated)
(167,445 real changes made)
(221,691 missing values generated)
(19 real changes made)
(239 real changes made)
(239 real changes made)
(153,449 missing values generated)
(3,721 real changes made)
(3,334 real changes made)
(357 real changes made, 357 to missing)
(740 real changes made, 740 to missing)
(221,691 missing values generated)
(67,659 real changes made)
(221,691 missing values generated)
(67,659 real changes made)
(164,681 missing values generated)
(6,893 real changes made)
(13,673 real changes made)
(3,781 real changes made)
(300,711 missing values generated)
(146,704 real changes made)
(300,711 missing values generated)
(146,704 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (24,095,775 bytes saved)
file /tmp/St2868349.00001x saved as .dta format
Starting year 2011.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg11.dta.gz"
>  filesig(4137675381:16051413)


(0 real changes made)
(0 real changes made)
(318,334 missing values generated)
(210,180 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           318,334  (_merge==3)
    -----------------------------------------
(166,286 missing values generated)
(166,286 real changes made)
(318,334 missing values generated)
(318,334 real changes made)
(169,605 real changes made)
(318,334 missing values generated)
(318,334 missing values generated)
(318,334 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(318,334 real changes made)
(0 real changes made)
(318,334 differences between educ92 and educ92_as91)
(318,334 real changes made)
(131,325 missing values generated)
(16,504 real changes made)
(113,563 real changes made)
(1,258 missing values generated)
(187,009 real changes made)
(131,325 missing values generated)
(16,504 real changes made)
(1,258 missing values generated)
(113,563 real changes made)
(152,075 missing values generated)
(67,359 real changes made)
(318,334 missing values generated)
(98,867 real changes made)
(318,334 missing values generated)
(166,259 real changes made)
(0 real changes made)
(145,900 missing values generated)
(145,900 missing values generated)
(145,737 missing values generated)
(30,916 real changes made)
(12,403 real changes made)
(114,821 real changes made)
(133,497 real changes made)
(318,334 missing values generated)
(165,922 real changes made)
(219,467 missing values generated)
(15 real changes made)
(316 real changes made)
(316 real changes made)
(152,075 missing values generated)
(3,789 real changes made)
(3,335 real changes made)
(346 real changes made, 346 to missing)
(683 real changes made, 683 to missing)
(219,467 missing values generated)
(66,856 real changes made)
(219,467 missing values generated)
(66,856 real changes made)
(162,893 missing values generated)
(6,749 real changes made)
(13,762 real changes made)
(3,549 real changes made)
(297,823 missing values generated)
(145,228 real changes made)
(297,823 missing values generated)
(145,228 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,875,050 bytes saved)
file /tmp/St2868349.000021 saved as .dta format
Starting year 2012.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg12.dta.gz"
>  filesig(1980687463:16069583)


(0 real changes made)
(0 real changes made)
(316,408 missing values generated)
(69,199 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           316,408  (_merge==3)
    -----------------------------------------
(164,891 missing values generated)
(164,891 real changes made)
(316,408 missing values generated)
(316,408 real changes made)
(168,745 real changes made)
(316,408 missing values generated)
(316,408 missing values generated)
(316,408 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(316,408 real changes made)
(0 real changes made)
(316,408 differences between educ92 and educ92_as91)
(316,408 real changes made)
(129,641 missing values generated)
(14,673 real changes made)
(113,724 real changes made)
(1,244 missing values generated)
(186,767 real changes made)
(129,641 missing values generated)
(14,673 real changes made)
(1,244 missing values generated)
(113,724 real changes made)
(150,324 missing values generated)
(67,742 real changes made)
(316,408 missing values generated)
(98,311 real changes made)
(316,408 missing values generated)
(166,084 real changes made)
(0 real changes made)
(144,606 missing values generated)
(144,606 missing values generated)
(144,462 missing values generated)
(29,494 real changes made)
(12,778 real changes made)
(114,968 real changes made)
(131,828 real changes made)
(316,408 missing values generated)
(165,804 real changes made)
(218,097 missing values generated)
(10 real changes made)
(316 real changes made)
(316 real changes made)
(150,324 missing values generated)
(4,324 real changes made)
(3,849 real changes made)
(384 real changes made, 384 to missing)
(664 real changes made, 664 to missing)
(218,097 missing values generated)
(67,238 real changes made)
(218,097 missing values generated)
(67,238 real changes made)
(161,384 missing values generated)
(6,935 real changes made)
(14,142 real changes made)
(3,607 real changes made)
(295,331 missing values generated)
(144,489 real changes made)
(295,331 missing values generated)
(144,489 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,730,600 bytes saved)
file /tmp/St2868349.000023 saved as .dta format
Starting year 2013.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg13.dta.gz"
>  filesig(1644087300:15940217)


(0 real changes made)
(0 real changes made)
(315,717 missing values generated)
(206,192 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           315,717  (_merge==3)
    -----------------------------------------
(164,590 missing values generated)
(164,590 real changes made)
(315,717 missing values generated)
(315,717 real changes made)
(167,780 real changes made)
(315,717 missing values generated)
(315,717 missing values generated)
(315,717 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(315,717 real changes made)
(0 real changes made)
(315,717 differences between educ92 and educ92_as91)
(315,717 real changes made)
(129,602 missing values generated)
(13,223 real changes made)
(115,086 real changes made)
(1,293 missing values generated)
(186,115 real changes made)
(129,602 missing values generated)
(13,223 real changes made)
(1,293 missing values generated)
(115,086 real changes made)
(149,839 missing values generated)
(68,296 real changes made)
(315,717 missing values generated)
(97,559 real changes made)
(315,717 missing values generated)
(165,878 real changes made)
(0 real changes made)
(143,702 missing values generated)
(143,702 missing values generated)
(143,554 missing values generated)
(27,175 real changes made)
(12,026 real changes made)
(116,379 real changes made)
(131,676 real changes made)
(315,717 missing values generated)
(165,592 real changes made)
(218,158 missing values generated)
(12 real changes made)
(308 real changes made)
(308 real changes made)
(149,839 missing values generated)
(4,696 real changes made)
(4,142 real changes made)
(380 real changes made, 380 to missing)
(666 real changes made, 666 to missing)
(218,158 missing values generated)
(67,796 real changes made)
(218,158 missing values generated)
(67,796 real changes made)
(160,441 missing values generated)
(6,505 real changes made)
(13,674 real changes made)
(3,586 real changes made)
(295,538 missing values generated)
(145,188 real changes made)
(295,538 missing values generated)
(145,188 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,678,775 bytes saved)
file /tmp/St2868349.000025 saved as .dta format
Starting year 2014.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg14.dta.gz"
>  filesig(2029864831:16387159)


(0 real changes made)
(0 real changes made)
(317,056 missing values generated)
(205,493 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           317,056  (_merge==3)
    -----------------------------------------
(165,014 missing values generated)
(165,014 real changes made)
(317,056 missing values generated)
(317,056 real changes made)
(167,886 real changes made)
(317,056 missing values generated)
(317,056 missing values generated)
(317,056 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(317,056 real changes made)
(0 real changes made)
(317,056 differences between educ92 and educ92_as91)
(317,056 real changes made)
(129,842 missing values generated)
(11,019 real changes made)
(117,501 real changes made)
(1,322 missing values generated)
(187,214 real changes made)
(129,842 missing values generated)
(11,019 real changes made)
(1,322 missing values generated)
(117,501 real changes made)
(149,982 missing values generated)
(68,750 real changes made)
(317,056 missing values generated)
(98,279 real changes made)
(317,056 missing values generated)
(167,074 real changes made)
(0 real changes made)
(143,478 missing values generated)
(143,478 missing values generated)
(143,331 missing values generated)
(24,508 real changes made)
(11,701 real changes made)
(118,823 real changes made)
(131,777 real changes made)
(317,056 missing values generated)
(166,746 real changes made)
(218,777 missing values generated)
(14 real changes made)
(331 real changes made)
(331 real changes made)
(149,982 missing values generated)
(4,815 real changes made)
(4,248 real changes made)
(365 real changes made, 365 to missing)
(693 real changes made, 693 to missing)
(218,777 missing values generated)
(68,231 real changes made)
(218,777 missing values generated)
(68,231 real changes made)
(160,321 missing values generated)
(6,391 real changes made)
(14,138 real changes made)
(3,405 real changes made)
(296,527 missing values generated)
(146,002 real changes made)
(296,527 missing values generated)
(146,002 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,779,200 bytes saved)
file /tmp/St2868349.000027 saved as .dta format
Starting year 2015.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg15.dta.gz"
>  filesig(2426670247:16183444)


(0 real changes made)
(0 real changes made)
(314,692 missing values generated)
(202,041 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           314,692  (_merge==3)
    -----------------------------------------
(163,977 missing values generated)
(163,977 real changes made)
(314,692 missing values generated)
(314,692 real changes made)
(165,700 real changes made)
(314,692 missing values generated)
(314,692 missing values generated)
(314,692 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(314,692 real changes made)
(0 real changes made)
(314,692 differences between educ92 and educ92_as91)
(314,692 real changes made)
(129,777 missing values generated)
(9,423 real changes made)
(119,045 real changes made)
(1,309 missing values generated)
(184,915 real changes made)
(129,777 missing values generated)
(9,423 real changes made)
(1,309 missing values generated)
(119,045 real changes made)
(149,410 missing values generated)
(68,152 real changes made)
(314,692 missing values generated)
(97,080 real changes made)
(314,692 missing values generated)
(165,282 real changes made)
(0 real changes made)
(142,491 missing values generated)
(142,491 missing values generated)
(142,352 missing values generated)
(21,998 real changes made)
(10,911 real changes made)
(120,354 real changes made)
(131,580 real changes made)
(314,692 missing values generated)
(164,985 real changes made)
(217,612 missing values generated)
(22 real changes made)
(306 real changes made)
(306 real changes made)
(149,410 missing values generated)
(5,202 real changes made)
(4,616 real changes made)
(362 real changes made, 362 to missing)
(659 real changes made, 659 to missing)
(217,612 missing values generated)
(67,685 real changes made)
(217,612 missing values generated)
(67,685 real changes made)
(159,143 missing values generated)
(5,946 real changes made)
(13,999 real changes made)
(3,290 real changes made)
(294,747 missing values generated)
(144,840 real changes made)
(294,747 missing values generated)
(144,840 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,601,900 bytes saved)
file /tmp/St2868349.000029 saved as .dta format
Starting year 2016.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg16.dta.gz"
>  filesig(1540312252:16200715)


(0 real changes made)
(0 real changes made)
(314,873 missing values generated)
(202,159 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           314,873  (_merge==3)
    -----------------------------------------
(164,223 missing values generated)
(164,223 real changes made)
(314,873 missing values generated)
(314,873 real changes made)
(166,375 real changes made)
(314,873 missing values generated)
(314,873 missing values generated)
(314,873 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(314,873 real changes made)
(0 real changes made)
(314,873 differences between educ92 and educ92_as91)
(314,873 real changes made)
(129,243 missing values generated)
(8,803 real changes made)
(119,158 real changes made)
(1,282 missing values generated)
(185,630 real changes made)
(129,243 missing values generated)
(8,803 real changes made)
(1,282 missing values generated)
(119,158 real changes made)
(149,065 missing values generated)
(68,205 real changes made)
(314,873 missing values generated)
(97,522 real changes made)
(314,873 missing values generated)
(165,808 real changes made)
(0 real changes made)
(141,643 missing values generated)
(141,643 missing values generated)
(141,495 missing values generated)
(21,055 real changes made)
(10,658 real changes made)
(120,440 real changes made)
(130,985 real changes made)
(314,873 missing values generated)
(165,458 real changes made)
(217,351 missing values generated)
(18 real changes made)
(373 real changes made)
(373 real changes made)
(149,065 missing values generated)
(5,588 real changes made)
(4,958 real changes made)
(402 real changes made, 402 to missing)
(752 real changes made, 752 to missing)
(217,351 missing values generated)
(67,679 real changes made)
(217,351 missing values generated)
(67,679 real changes made)
(158,670 missing values generated)
(5,778 real changes made)
(14,006 real changes made)
(3,249 real changes made)
(295,089 missing values generated)
(145,446 real changes made)
(295,089 missing values generated)
(145,446 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,615,475 bytes saved)
file /tmp/St2868349.00002b saved as .dta format
Starting year 2017.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg17.dta.gz"
>  filesig(2673952186:16296345)


(0 real changes made)
(0 real changes made)
(309,989 missing values generated)
(198,387 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           309,989  (_merge==3)
    -----------------------------------------
(161,881 missing values generated)
(161,881 real changes made)
(309,989 missing values generated)
(309,989 real changes made)
(164,678 real changes made)
(309,989 missing values generated)
(309,989 missing values generated)
(309,989 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(309,989 real changes made)
(0 real changes made)
(309,989 differences between educ92 and educ92_as91)
(309,989 real changes made)
(126,808 missing values generated)
(7,703 real changes made)
(117,780 real changes made)
(1,325 missing values generated)
(183,181 real changes made)
(126,808 missing values generated)
(7,703 real changes made)
(1,325 missing values generated)
(117,780 real changes made)
(146,208 missing values generated)
(67,800 real changes made)
(309,989 missing values generated)
(95,942 real changes made)
(309,989 missing values generated)
(163,781 real changes made)
(0 real changes made)
(138,660 missing values generated)
(138,660 missing values generated)
(138,512 missing values generated)
(19,407 real changes made)
(10,255 real changes made)
(119,105 real changes made)
(128,405 real changes made)
(309,989 missing values generated)
(163,448 real changes made)
(214,047 missing values generated)
(28 real changes made)
(378 real changes made)
(378 real changes made)
(146,208 missing values generated)
(5,913 real changes made)
(5,240 real changes made)
(442 real changes made, 442 to missing)
(775 real changes made, 775 to missing)
(214,047 missing values generated)
(67,219 real changes made)
(214,047 missing values generated)
(67,219 real changes made)
(155,438 missing values generated)
(5,480 real changes made)
(13,361 real changes made)
(3,148 real changes made)
(291,148 missing values generated)
(144,338 real changes made)
(291,148 missing values generated)
(144,338 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (23,249,175 bytes saved)
file /tmp/St2868349.00002d saved as .dta format
Starting year 2018.
project GRscar_erratum > do-file uses original: "/scratch/public/jr_ra/GRscarring2024/erratum/rawdata/readrawcps/morg/morg18.dta.gz"
>  filesig(3458239002:15982538)


(0 real changes made)
(0 real changes made)
(302,332 missing values generated)
(193,103 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           302,332  (_merge==3)
    -----------------------------------------
(157,518 missing values generated)
(157,518 real changes made)
(302,332 missing values generated)
(302,332 real changes made)
(159,112 real changes made)
(302,332 missing values generated)
(302,332 missing values generated)
(302,332 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(302,332 real changes made)
(0 real changes made)
(302,332 differences between educ92 and educ92_as91)
(302,332 real changes made)
(123,511 missing values generated)
(6,756 real changes made)
(115,476 real changes made)
(1,279 missing values generated)
(178,821 real changes made)
(123,511 missing values generated)
(6,756 real changes made)
(1,279 missing values generated)
(115,476 real changes made)
(142,477 missing values generated)
(66,107 real changes made)
(302,332 missing values generated)
(93,700 real changes made)
(302,332 missing values generated)
(159,855 real changes made)
(0 real changes made)
(134,812 missing values generated)
(134,812 missing values generated)
(122,232 missing values generated)
(6,756 real changes made)
(4,639 real changes made)
(115,476 real changes made)
(130,173 real changes made)
(302,332 missing values generated)
(159,559 real changes made)
(208,632 missing values generated)
(30 real changes made)
(399 real changes made)
(399 real changes made)
(142,477 missing values generated)
(6,674 real changes made)
(5,891 real changes made)
(986 real changes made, 986 to missing)
(1,282 real changes made, 1,282 to missing)
(208,632 missing values generated)
(65,172 real changes made)
(208,632 missing values generated)
(65,172 real changes made)
(151,217 missing values generated)
(5,278 real changes made)
(13,314 real changes made)
(2,498 real changes made)
(283,740 missing values generated)
(140,299 real changes made)
(283,740 missing values generated)
(140,299 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (22,674,900 bytes saved)
file /tmp/St2868349.00002f saved as .dta format
Starting year 2019.
project GRscar_erratum > do-file uses: "/scratch/public/jr_ra/GRscarring2024/erratum/scratch/morg2019.dta" filesig(1601100515:213321
> 62)
(0 real changes made)
(0 real changes made)
(291,390 missing values generated)
(291,390 real changes made)

    Result                      Number of obs
    -----------------------------------------
    Not matched                             0
    Matched                           291,390  (_merge==3)
    -----------------------------------------
(151,589 missing values generated)
(151,589 real changes made)
(291,390 missing values generated)
(291,390 real changes made)
(171,891 real changes made)
(291,390 missing values generated)
(291,390 missing values generated)
(291,390 missing values generated)
(0 differences between educ91 and educ91_as92)
(0 real changes made)
(291,390 real changes made)
(0 real changes made)
(291,390 differences between educ92 and educ92_as91)
(291,390 real changes made)
(118,244 missing values generated)
(6,082 real changes made)
(110,989 real changes made)
(1,173 missing values generated)
(173,146 real changes made)
(118,244 missing values generated)
(6,082 real changes made)
(1,173 missing values generated)
(110,989 real changes made)
(64,844 real changes made)
(291,390 missing values generated)
(89,883 real changes made)
(291,390 missing values generated)
(154,727 real changes made)
(0 real changes made)
(129,663 missing values generated)
(129,663 missing values generated)
(129,539 missing values generated)
(17,377 real changes made)
(9,911 real changes made)
(112,162 real changes made)
(119,752 real changes made)
(291,390 missing values generated)
(154,512 real changes made)
(201,507 missing values generated)
(27 real changes made)
(449 real changes made)
(449 real changes made)
(136,663 missing values generated)
(6,940 real changes made)
(6,089 real changes made)
(446 real changes made, 446 to missing)
(661 real changes made, 661 to missing)
(201,507 missing values generated)
(64,365 real changes made)
(201,507 missing values generated)
(64,365 real changes made)
(145,474 missing values generated)
(5,282 real changes made)
(12,689 real changes made)
(3,050 real changes made)
(273,419 missing values generated)
(136,277 real changes made)
(273,419 missing values generated)
(136,277 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(124,519 real changes made, 124,519 to missing)
  variable hh_tiebreak was double now byte
  variable p_tiebreak was double now byte
  variable peio1ocd was double now int
  variable yearmo was double now int
  variable educ91 was double now byte
  variable usualhours was double now byte
  variable tc_paidbyhour was double now byte
  variable tc_weekpay was double now byte
  variable tc_nber was double now byte
  variable useweekly_ceprstyle was double now byte
  variable tc_wage was double now byte
  (21,854,250 bytes saved)
file /tmp/St2868349.00002h saved as .dta format

.      *Stack the data;
.      local start=1;

.      forvalues y=`startyr'/`endyr' {;
  2.      if `start'==1 {;
  3.          use `morg`y'';
  4.          local start=0;
  5.      };
  6.      else {;
  7.          di "Appending year " `y' ".";
  8.          append using `morg`y'';
  9.      };
 10.    };
Appending year 1980.
(label educ92 already defined)
(label sex already defined)
(label state already defined)
(label intmonth already defined)
(label minsamp already defined)
Appending year 1981.
(label educ92 already defined)
(label sex already defined)
(label state already defined)
(label intmonth already defined)
(label minsamp already defined)
Appending year 1982.
(label educ92 already defined)
(label sex already defined)
(label state already defined)
(label intmonth already defined)
(label minsamp already defined)
Appending year 1983.
(label educ92 already defined)
(label sex already defined)
(label state already defined)
(label intmonth already defined)
(label minsamp already defined)
Appending year 1984.
(label educ92 already defined)
Appending year 1985.
(label educ92 already defined)
(label P2L already defined)
(label P4L already defined)
(label P27L already defined)
(label P9L already defined)
Appending year 1986.
(label educ92 already defined)
(label P9L already defined)
(label P27L already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1987.
(label educ92 already defined)
(label P9L already defined)
(label P27L already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1988.
(label educ92 already defined)
(label P9L already defined)
(label P27L already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1989.
(label educ92 already defined)
(label P9L already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1990.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1991.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1992.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1993.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1994.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1995.
(variable hh_id was str13, now str16 to accommodate using data's values)
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1996.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1997.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1998.
(variable earnwt was float, now double to accommodate using data's values)
(variable orgwgt was float, now double to accommodate using data's values)
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 1999.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2000.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2001.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2002.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2003.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2004.
(variable hh_id was str16, now str20 to accommodate using data's values)
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2005.
(label educ92 already defined)
(label P9L already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2006.
(label educ92 already defined)
(label P9L already defined)
(label age already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2007.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2008.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2009.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2010.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2011.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2012.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2013.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2014.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2015.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2016.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2017.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2018.
(label educ92 already defined)
(label stfips already defined)
(label P4L already defined)
(label P2L already defined)
Appending year 2019.
(label educ92 already defined)

.         ****************************************************************************************
> ************ CODE TO CONVERT NOMINAL TO REAL. *************************************
> *****************************************************************************************
> 
> *Real wages;
.  sort yearmo;

.  *drop _merge;
.  merge m:1 yearmo using `scratch'/cpi, keepusing(yearmo monthly);
(variable yearmo was int, now double to accommodate using data's values)

    Result                      Number of obs
    -----------------------------------------
    Not matched                           384
        from master                         0  (_merge==1)
        from using                        384  (_merge==2)

    Matched                        13,169,878  (_merge==3)
    -----------------------------------------

.  assert _merge>1 if yearmo<=ym(2015,11);

.  *drop _merge;
.  rename monthly cpi;

.  su cpi if yearmo==ym(2009,1), meanonly;

.  local basecpi=r(mean);

.  su cpi if yearmo==ym(2001,1), meanonly;

.  local cpijan01=r(mean);

.  drop if _merge==2;
(384 observations deleted)

.  drop _merge;

.  gen rw=wage/(cpi/`basecpi');
(6,133,367 missing values generated)

.   gen rw_nber=wage_nber/(cpi/`basecpi');
(6,134,003 missing values generated)

.   drop cpi;

.   *Trim at 1/200 Jan2001 dollars;
.  local cpitrim=`cpijan01';

.  foreach v of varlist rw rw_nber {;
  2.   replace `v'=. if `v'<(`basecpi'/`cpitrim') | `v'>(200*`basecpi'/`cpitrim');
  3.  };
(8,672 real changes made, 8,672 to missing)
(9,014 real changes made, 9,014 to missing)

.  gen rw_l=ln(rw);
(6,142,039 missing values generated)

.  gen rw_nber_l=ln(rw_nber);
(6,143,017 missing values generated)

. label var rw "Wage (09$), adapted CPER method, trimmed at 1/200 (01$)";

. label var rw_l "Log of real wage, adapted CPER method";

. sort year month gestcen hh_id linenum mis;

. cap drop __0*;

. *Create occupation dependent variables;
.   *Occupation period (based on changes to the census occupation coding: bls.gov/cps/spcoccind.htm);
.     gen period=.;
(13,169,878 missing values generated)

.     replace period=1990 if year<=1991;
(4,464,525 real changes made)

.     replace period=1992 if year>=1992 & year<=2002;
(3,331,717 real changes made)

.     replace period=2003 if year>=2003 & year<=2010;
(2,572,845 real changes made)

.     replace period=2011 if year==2011;
(318,334 real changes made)

.     replace period=2012 if year>=2013;
(2,166,049 real changes made)

.     if year==2012 {;
.         replace period=2011 if month<=4;
.         replace period=2012 if month>=5;
. };

.     *Occupation mean earnings;
.   sort period peio1ocd;

.   by period peio1ocd: egen rwage_occup=mean(rw_nber) if peio1ocd>=1 ;
(3,786,378 missing values generated)

.       keep yearmo month year age sex educ92 educ91 gestfips mis hh_id gestcen linenum orgwgt earnwt hh_tiebreak p_tiebreak hh_num
>        usualhours usualhoursi wage wage_nber useweekly_ceprstyle tc_paidbyhour tc_weekpay tc_nber tc_wage
>        nilf rwage_occup rw rw_l rw_nber rw_nber_l
>        ;

.                 compress;
  variable yearmo was double now int
  (79,019,268 bytes saved)

. save `scratch'/extractorg_morg.dta, replace;
(file /accounts/projects/jr_ra/GRscarring/erratum/scratch/extractorg_morg.dta not found)
file /accounts/projects/jr_ra/GRscarring/erratum/scratch/extractorg_morg.dta saved

. ! gzip -f `scratch'/extractorg_morg.dta;


. if `doasproject'==1 project, creates("`scratch'/extractorg_morg.dta.gz");
project GRscar_erratum > do-file creates: "/scratch/public/jr_ra/GRscarring2024/erratum/scratch/extractorg_morg.dta.gz" filesig(8195
> 74291:643171877)

. 
end of do-file
      name:  plog_754
       log:  /accounts/projects/jr_ra/GRscarring/erratum/programs/prepare/extractorg_morg.log
  log type:  text
 closed on:  27 Nov 2024, 17:33:08
------------------------------------------------------------------------------------------------------------------------------------
